UNPKG

@adobe/pdfservices-node-sdk

Version:

The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.

31 lines (30 loc) 905 B
/** * Class for specifying the layout of a page. */ export declare class PageLayout { private readonly _pageHeight?; private readonly _pageWidth?; /** * Constructs a new `PageLayout` instance * * @param params The parameters for constructing an instance of `PageLayout`. * @param [params.pageHeight] The height (in inches) of the output paper size. Default value is 8.5. * @param [params.pageWidth] The width (in inches) of the output paper size. Default value is 11. */ constructor(params: { pageHeight?: number; pageWidth?: number; }); /** * Returns the page height in inches. * * @returns The page height in inches. */ get pageHeight(): number | undefined; /** * Returns the page width in inches. * * @returns The page width in inches. */ get pageWidth(): number | undefined; }