PDFPage

data class PDFPage @JvmOverloads constructor(val imageFile: File, val inchesSize: PDFSize, val textLayout: TextLayout? = null)

Describes a page of a PDF document for the PDF generator.

Constructors

Link copied to clipboard
constructor(imageFile: File, inchesSize: PDFSize, textLayout: TextLayout? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val textLayout: TextLayout? = null

If provided, the text will be included in the resulting PDF at the specified positions with an invisible font type. This text can then be searched and selected.