Skip to content

@sheetkit/node / JsPageSetup

Interface: JsPageSetup

Defined in: binding.d.ts:812

Page setup configuration.

Properties

fitToHeight?

optional fitToHeight: number

Defined in: binding.d.ts:822

Fit to this many pages tall.


fitToWidth?

optional fitToWidth: number

Defined in: binding.d.ts:820

Fit to this many pages wide.


orientation?

optional orientation: string

Defined in: binding.d.ts:816

Orientation: "portrait" or "landscape".


paperSize?

optional paperSize: string

Defined in: binding.d.ts:814

Paper size: "letter", "tabloid", "legal", "a3", "a4", "a5", "b4", "b5".


scale?

optional scale: number

Defined in: binding.d.ts:818

Print scale percentage (10-400).

Released under the MIT / Apache-2.0 License.