pageformat
.pageformat size:{PageSizeFormat? = null}
orientation:{PageOrientation = context.documentInfo.type.preferredOrientation}
width:{Size? = null}
height:{Size? = null}
margin:{Sizes? = null}
columns:{Int? = null}
alignment:{Container.Alignment? = null}
-> Void
Content copied to clipboard
Sets the format of the document. If a value is null
, the default value supplied by the underlying renderer is used. If neither size nor width or height are null
, the latter override the former. If both size and width or height are null
, the default value is used.
Parameters
width
width of each page
height
height of each page
margin
blank space around the content of each page. Not supported in slides documents
columns
positive number of columns on each page. If set and greater than 1, the layout becomes multi-column. If < 1, the value is discarded