Explicit page geometry. Supplying this overrides captured @page geometry.
Signature
export interface PageOptions {
format?: PageFormat;
orientation?: PageOrientation;
unit?: LengthUnit;
margin?: Margin;
}Properties
| Property | Type | Required | Read only | Default | Description |
|---|---|---|---|---|---|
format | PageFormat | No | No | a4 | Page size. Defaults to a4. |
orientation | PageOrientation | No | No | portrait | Page orientation. Defaults to portrait. |
unit | LengthUnit | No | No | pt | Unit for custom dimensions and margins. Defaults to pt. |
margin | Margin | No | No | zero on every edge | Page margins. Defaults to zero on every edge. |