PageSize

PageSize class

Class representing size of page in PDF document.

The PageSize type exposes the following members:

Constructors

NameDescription
PageSize(x, y)Initializes a new instance of the PageSize class

Properties

NameDescription
widthGets or sets page width.
heightGets or sets page height.
is_landscapeGets page orientation. Returns true of this is landscape orientation and false if this is portrait.
a0A0 size (1189x840 mm).
a1A1 size (840x594 mm).
a2A2 size (594x420 mm).
a3A3 size (420x297 mm).
a4A4 size (297x210 mm).
a5A5 size (210x148 mm).
a6A6 size (148x105 mm).
b5B5 size (250x176 mm).
page_letterLetter size (279x216 mm).
page_legalLegal size (356x216 mm).
page_ledgerLedger size (432x279 mm).
p11x1711x17 inches format.

See Also