PageInfo class
PageInfo class
Wraps Size
for public API Node.js porting.
Remarks
The page width and height returned by this object represent the “final” size of the page e.g. they are already rotated to the correct orientation.
Properties
Name | Description |
---|---|
colored | Returns true if the page contains colored content. |
heightInPoints | Gets the height of the page in points. |
landscape | Returns true if the page orientation specified in the document for this page is landscape. |
paperSize | Gets the paper size as enumeration. |
paperTray | Gets the paper tray (bin) for this page as specified in the document. The value is implementation (printer) specific. |
sizeInPoints2 | Gets the page size in points. |
widthInPoints | Gets the width of the page in points. |
Methods
Name | Description |
---|---|
getSizeInPixels2(scale, dpi) | Calculates the page size in pixels for a specified zoom factor and resolution. |
getSizeInPixels2(scale, horizontalDpi, verticalDpi) | Calculates the page size in pixels for a specified zoom factor and resolution. |
See Also
- module Aspose.Words.Rendering
- method Document.getPageInfo()