Interface: PageOptions
Options for creating or inserting a page.
Properties
| Property | Type | Description |
|---|---|---|
origin? | "bottom-left" | "top-left" | Coordinate origin for this page's drawing APIs. "bottom-left" (default) is the native PDF system where y grows upward. "top-left" flips y so it grows downward from the top edge, matching screen/CSS conventions. Applies to the page drawing, annotation, and form-field methods (text, textBlock, richText, rect, line, circle, ellipse, image, path, link, highlight, note, freeText, textField, checkBox, choiceField, radioGroup, pushButton, signatureField, …). The flow/template layout APIs always use bottom-left coordinates. |
size? | PageSize | Page size for the generated page. |
tabOrder? | "R" | "C" | "S" | Tab order for annotations and form fields on the page. Uses PDF spec values: "R" (row order), "C" (column order), "S" (structure order). Defaults to structure order ("S") for tagged documents, row order otherwise. |
transparencyGroup? | PageTransparencyGroupOptions | Transparency group dict applied to the page (ISO 32000-2 § 11.6.6). Required by some workflows when the page contains transparency or blend modes that must compose against an explicit blending color space. |