PageInfo class
PageInfo class
Represents information about a particular document page. To learn more, visit the Rendering documentation article.
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. |
height_in_points | Gets the height of the page in points. |
landscape | Returns True if the page orientation specified in the document for this page is landscape. |
paper_size | Gets the paper size as enumeration. |
paper_tray | Gets the paper tray (bin) for this page as specified in the document. The value is implementation (printer) specific. |
size_in_points | Gets the page size in points. |
width_in_points | Gets the width of the page in points. |
Methods
Name | Description |
---|---|
get_size_in_pixels(scale, dpi) | Calculates the page size in pixels for a specified zoom factor and resolution. |
get_size_in_pixels(scale, horizontal_dpi, vertical_dpi) | Calculates the page size in pixels for a specified zoom factor and resolution. |
See Also
- module aspose.words.rendering
- method Document.get_page_info()