PageFormatInfo

constructor(selector: PageFormatSelector? = null, pageWidth: Size? = null, pageHeight: Size? = null, margin: Sizes? = null, padding: Sizes? = null, contentBorderWidth: Sizes? = null, contentBorderColor: Color? = null, backgroundColor: Color? = null, columnCount: Int? = null, alignment: NodeStyle.TextAlignment? = null)

Parameters

selector

the scope this format applies to (side, range, or both), or null for global (all pages)

pageWidth

width of each page

pageHeight

height of each page

margin

blank space around the content area of each page, between the page edge and the content area

padding

blank space inside the content area of each page, between its border and the content

contentBorderWidth

width of the border around the content area of each page

contentBorderColor

color of the border around the content area of each page

backgroundColor

background color 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