PageInfo
Contents
[
Hide
]PageInfo class
Represents information about a particular document page.
To learn more, visit the Rendering documentation article.
public class PageInfo
Properties
| Name | Description |
|---|---|
| Colored { get; } | Returns true if the page contains colored content. |
| HeightInPoints { get; } | Gets the height of the page in points. |
| Landscape { get; } | Returns true if the page orientation specified in the document for this page is landscape. |
| PaperSize { get; } | Gets the paper size as enumeration. |
| PaperTray { get; } | Gets the paper tray (bin) for this page as specified in the document. The value is implementation (printer) specific. |
| SizeInPoints { get; } | Gets the page size in points. |
| WidthInPoints { get; } | Gets the width of the page in points. |
Methods
| Name | Description |
|---|---|
| GetDotNetPaperSize(PaperSizeCollection) | Gets the PaperSize object suitable for printing the page represented by this PageInfo. |
| GetSizeInPixels(float, float) | Calculates the page size in pixels for a specified zoom factor and resolution. |
| GetSizeInPixels(float, float, float) | Calculates the page size in pixels for a specified zoom factor and resolution. |
| GetSpecifiedPrinterPaperSource(PaperSourceCollection, PaperSource) | Gets the PaperSource object suitable for printing the page represented by this PageInfo. |
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.
See Also
- namespace Aspose.Words.Rendering
- assembly Aspose.Words