Skip to content

LayoutDocument

The layout document is the engine’s output and the single input of every renderer (DOM viewer, PDF, Excel). All coordinates and sizes are in points (1/72 inch). Item coordinates are relative to the page’s top-left corner.

Property Type Description
issues LayoutIssue[] Expression errors and layout warnings collected while generating.
locale string -
margins object Margins in points.
margins.bottom number -
margins.left number -
margins.right number -
margins.top number -
name string -
pageHeight number -
pages LayoutPage[] -
pageWidth number Page size in points.