Aspose::Pdf::PageSize class

PageSize class

Class representing size of page in PDF document.

class PageSize : public System::Object

Methods

MethodDescription
static get_A0()A0 size (1189x840 mm).
static get_A1()A1 size (840x594 mm).
static get_A2()A2 size (594x420 mm).
static get_A3()A3 size (420x297 mm).
static get_A4()A4 size (297x210 mm).
static get_A5()A5 size (210x148 mm).
static get_A6()A6 size (148x105 mm).
static get_B5()B5 size (250x176 mm).
get_Height()Gets page height.
get_IsLandscape() constGets page orientation. Returns true of this is landscape orientation and false if this is portrait.
static get_P11x17()11x17 inches format.
static get_PageLedger()Ledger size (432x279 mm).
static get_PageLegal()Legal size (356x216 mm).
static get_PageLetter()Letter size (279x216 mm).
get_Width()Gets page width.
PageSize(float, float)Constructor for PageSize.
set_Height(float)Sets page height.
set_IsLandscape(bool)Gets page orientation. Returns true of this is landscape orientation and false if this is portrait.
set_Width(float)Sets page width.

See Also