page

fun page(size: PageSize = PageSize.A4, block: PageScope.() -> Unit)

Adds a page to the document.

Parameters

size

physical page size; defaults to PageSize.A4.