Setup, templates and components

Minimal setup, page settings and components. Code examples in the DocStudio developer reference.

Minimal setup

The resolved page carries the size in millimetres, the orientation, the margins, the direction, the locale and the mode. The header and footer regions keep their height and children.

Components

Text, divider, shape, image, QR code and barcode in one template. The image points at an asset the host must resolve, so rendering it needs an asset resolver; compiling does not.