Page settings accepted through the html2pdf.js-compatible jsPDF option.
Signature
export interface CompatJsPdfOptions {
unit?: LengthUnit;
format?: PageFormat;
orientation?: PageOrientation;
}Properties
| Property | Type | Required | Read only | Default | Description |
|---|---|---|---|---|---|
unit | LengthUnit | No | No | None | Unit shared by custom page geometry and margins. |
format | PageFormat | No | No | None | Named or custom page format forwarded to the modern page contract. |
orientation | PageOrientation | No | No | None | Page orientation forwarded to the modern page contract. |