Aspose::Words::Rendering::PageInfo class

PageInfo class

Represents information about a particular document page. To learn more, visit the Rendering documentation article.

class PageInfo : public System::Object

Methods

MethodDescription
get_Colored()Returns true if the page contains colored content.
get_HeightInPoints()Gets the height of the page in points.
get_Landscape() constReturns true if the page orientation specified in the document for this page is landscape.
get_PaperSize()Gets the paper size as enumeration.
get_PaperTray() constGets the paper tray (bin) for this page as specified in the document. The value is implementation (printer) specific.
get_SizeInPoints() constGets the page size in points.
get_WidthInPoints()Gets the width of the page in points.
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.
GetType() const override
Is(const System::TypeInfo&) const override
static Type()

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