PageSize
Overview
PageSize is a class in Aspose.PDF FOSS for C++.
PageSize.Width() and Height() get or set the page dimensions, while IsLandscape() indicates orientation.
This class provides 18 methods for working with PageSize objects in C++ programs.
Available methods include: A0, A1, A2, A3, A4, A5, A6, B5, Height, IsLandscape, P11x17, PageLedger, and 3 additional methods.
All public members are accessible to any C++ application after installing the Aspose.PDF FOSS for C++ package.
Methods
| Signature | Description |
|---|---|
A0() → PageSize | Calls A0 on this PageSize instance. |
A1() → PageSize | Calls A1 on this PageSize instance. |
A2() → PageSize | Calls A2 on this PageSize instance. |
A3() → PageSize | Calls A3 on this PageSize instance. |
A4() → PageSize | Provides a preset PageSize object configured for ISO A4 dimensions |
A5() → PageSize | Calls A5 on this PageSize instance. |
A6() → PageSize | Calls A6 on this PageSize instance. |
B5() → PageSize | Calls B5 on this PageSize instance. |
PageLetter() → PageSize | Calls PageLetter on this PageSize instance. |
PageLegal() → PageSize | Calls PageLegal on this PageSize instance. |
PageLedger() → PageSize | Calls PageLedger on this PageSize instance. |
P11x17() → PageSize | Returns a PageSize preset for 11×17 inch paper |
Width() → float | And Height() get or set the page dimensions, while IsLandscape() indicates orientation |
Width(value: float) | Calls Width(value) on this PageSize instance. |
Height() → float | Calls Height on this PageSize instance. |
Height(value: float) | Calls Height(value) on this PageSize instance. |
IsLandscape() → bool | Returns true if landscape is set. |
IsLandscape(value: bool) | Reports whether the page is in landscape orientation; setting IsLandscape(true) swaps width and height |