Page size information for file dimensions. This interface provides dimensional data for individual pages within multi-page documents, useful for calculating costs based on document complexity and size.

Hierarchy

  • PageSize

Properties

Properties

Height: number

The height of the page in points. This value represents the vertical dimension of the page and is used for calculating printing costs and layout considerations.

Example

var pageWidth = pageSize.Width;
var pageHeight = pageSize.Height;
var pageArea = pageWidth * pageHeight;
Width: number

The width of the page in points. This value represents the horizontal dimension of the page and is used for calculating printing costs and layout considerations.

Example

var pageWidth = pageSize.Width;
var pageHeight = pageSize.Height;
var pageArea = pageWidth * pageHeight;

Generated using TypeDoc