Aspose::Page::EPS::PageConstants class

PageConstants class

This class defines a set of constants which describe a page. Convenience objects are provided for various margins, orientations, rescaling, and standard page sizes.

class PageConstants : public System::Object

Methods

MethodDescription
static BACKGROUND()Background key.
static BACKGROUND_COLOR()Background color key.
static FIT_TO_PAGE()Fit content to page key.
static get_OrientationList()
static get_SizeList()
static GetMargins(const System::String&)Gets page margins values
static GetMargins(System::SharedPtr<Margins>, System::String)Calculate page margins мфдгуы in specified orientation
static GetSize(const System::String&)Calculates page size in “Portrait” page orientation
static GetSize(const System::String&, const System::String&)Calculates page size in given page orientation
static GetSize(Aspose::Page::Drawing::Size, System::String)Calculates page size in given page orientation
static MARGINS_LARGE()“Large” page margins value
static MARGINS_MEDIUM()“Medium” page margins value
static MARGINS_SMALL()“Small” page margins value
static MARGINS_ZERO()“Zero” page margins value
static ORIENTATION()Orientation key, for the named orienation of page, Portret or Landscape.
static ORIENTATION_BEST_FIT()“Best fit” orientation value
static ORIENTATION_LANDSCAPE()“Landscape” orientation value
static ORIENTATION_PORTRAIT()“Portrait” orientation value
static PAGE_MARGINS()Page margins key.
static SIZE_A3()“A3” page size value
static SIZE_A4()“A4” page size value
static SIZE_A5()“A5” page size value
static SIZE_A6()“A6” page size value
static SIZE_EXECUTIVE()“Executive” page size value
static SIZE_INTERNATIONAL()“International” page size value
static SIZE_LEDGER()“Ledger” page size value
static SIZE_LEGAL()“Legal” page size value
static SIZE_LETTER()“Letter” page size value
static TRANSPARENT()Transparent background key.

Fields

FieldDescription
static PAGE_SIZE_Page size key.
static VIEWING_ORIENTATIONViewing orientation key, for rotation matrix distinguishing orientation of content on the page. The default viewing orientation matrix is identity.

See Also