PageFormatInfo

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

Mutable information about the format of all pages of a 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

contentBorderWidth

width of the border around the content area of each page

contentBorderColor

color of the border around the content area of each page

columnCount

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

alignment

text alignment of the content of each page

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
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