
## PageSize class

Class representing size of page in PDF document.

The PageSize type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|PageSize(x, y)|Initializes a new instance of the PageSize class|
## Properties
| Name | Description |
| :- | :- |
|width|Gets or sets page width.|
|height|Gets or sets page height.|
|is_landscape|Gets page orientation. Returns true of this is landscape orientation and false if this is portrait.|
|a0|A0 size (1189x840 mm).|
|a1|A1 size (840x594 mm).|
|a2|A2 size (594x420 mm).|
|a3|A3 size (420x297 mm).|
|a4|A4 size (297x210 mm).|
|a5|A5 size (210x148 mm).|
|a6|A6 size (148x105 mm).|
|b5|B5 size (250x176 mm).|
|page_letter|Letter size (279x216 mm).|
|page_legal|Legal size (356x216 mm).|
|page_ledger|Ledger size (432x279 mm).|
|p11x17|11x17 inches format.|

### See Also

* namespace [aspose.pdf](/pdf/python-net/aspose.pdf/)
* assembly [Aspose.PDF](/pdf/python-net/)

