PageFormatInfo

data class PageFormatInfo(var pageWidth: Size? = null, var pageHeight: Size? = null, var margin: Sizes? = null, var columnCount: Int? = null, var alignment: Container.Alignment? = null)

Mutable information about the format of all pages of a paged document. When any of the fields is null, the default value supplied by the underlying renderer is used.

Parameters

pageWidth

width of each page

pageHeight

height of each page

margin

blank space around the content of each page

columnCount

number of columns on each page. If set, the layout becomes multi-column

alignment

horizontal alignment of the content of each page

Constructors

Link copied to clipboard
constructor(pageWidth: Size? = null, pageHeight: Size? = null, margin: Sizes? = null, columnCount: Int? = null, alignment: Container.Alignment? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Whether the document has a fixed size.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard