Page size, orientation and margins
Set up the page. Page configuration in the DocStudio designer user guide.
Select nothing (click an empty part of the page) and open the Page group in the inspector.
Page size
Choose size: A3, A4, A5, A6, Letter or Legal. For a custom size open the JSON tab and set config.page.size to { "w": 100, "h": 150 } in millimetres.
Orientation
orientation portrait or landscape swaps width and height. After changing it press Fit page to see the whole page.
Margins
margins is a number in millimetres applied to all four sides. For different sides set config.page.margins to four numbers in the JSON tab (top, right, bottom, left).
Background, locale and theme
| Setting | Use |
|---|---|
| background | A color for the whole page |
| locale | A language tag such as en, ar, ur. It controls formatting and the document language |
| theme | The name of a theme from the configuration. Themes are defined by the host |
| name, description | Labels for your own use |
Direction
direction ltr or rtl. See Right-to-left documents.
Missing data
missingData chooses what to show for missing values. See Missing data.
Locked settings
If the host locks a setting, the field is read only and says "Locked by configuration".
Check the result
The canvas page and the rulers use the exact page size, so you can verify margins and the position of elements in millimetres.