Skip to content

@sheetkit/node / JsPageSetup

Interface: JsPageSetup

Defined in: binding.d.ts:736

Page setup configuration.

Properties

fitToHeight?

optional fitToHeight: number

Defined in: binding.d.ts:746

Fit to this many pages tall.


fitToWidth?

optional fitToWidth: number

Defined in: binding.d.ts:744

Fit to this many pages wide.


orientation?

optional orientation: string

Defined in: binding.d.ts:740

Orientation: "portrait" or "landscape".


paperSize?

optional paperSize: string

Defined in: binding.d.ts:738

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


scale?

optional scale: number

Defined in: binding.d.ts:742

Print scale percentage (10-400).

Released under the MIT / Apache-2.0 License.