PageOptions
Interface PageOptions
interface PageOptions extends RenderOptions, DocumentMetadataProperties
author
stringcreator
stringdebug
booleanWhen true, overlay every node's bounding box in red for layout debugging.
keywords
string[]margin
EdgesInputproducer
stringsize
PageSizePage size; defaults to LETTER (612×792) to match pdf-lib.
subject
stringtitle
stringwarnings
booleanWhen true (default), emit a console.warn if a top-level child's
measured width exceeds the page's content area — a common footgun when
hardcoded layout widths drift from the chosen page size. Set to false
to silence (e.g. in tests that deliberately overflow).