PageSize
Overview
PageSize is a class in Aspose.PDF FOSS for .NET.
Standard page size constants (dimensions in points, portrait orientation).
This class provides 2 methods for working with PageSize objects in .NET programs.
Available methods include: PageSize.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: A0, A1, A2, A3, A4, A5, and 11 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Width | float | Read/Write | Width in points. |
Height | float | Read/Write | Height in points. |
IsLandscape | bool | Read/Write | True when the page is wider than tall. |
A0 | PageSize | Read | ISO A0 — 841 × 1189 mm (2383.937 × 3370.394 pt). |
A1 | PageSize | Read | ISO A1 — 594 × 841 mm (1683.780 × 2383.937 pt). |
A2 | PageSize | Read | ISO A2 — 420 × 594 mm (1190.551 × 1683.780 pt). |
A3 | PageSize | Read | ISO A3 — 297 × 420 mm (841.890 × 1190.551 pt). |
A4 | PageSize | Read | ISO A4 — 210 × 297 mm (595.276 × 841.890 pt). |
A5 | PageSize | Read | ISO A5 — 148 × 210 mm (419.528 × 595.276 pt). |
A6 | PageSize | Read | ISO A6 — 105 × 148 mm (297.638 × 419.528 pt). |
B5 | PageSize | Read | ISO B5 — 176 × 250 mm (498.898 × 708.661 pt). |
Letter | PageSize | Read | US Letter — 8.5 × 11 in (612 × 792 pt). |
Legal | PageSize | Read | US Legal — 8.5 × 14 in (612 × 1008 pt). |
P11x17 | PageSize | Read | ANSI B / Tabloid (Ledger landscape) — 11 × 17 in (792 × 1224 pt). |
PageLedger | PageSize | Read | ANSI B / Ledger landscape — 17 × 11 in (1224 × 792 pt). |
PageLetter | PageSize | Read | Alias for Letter (legacy Generator naming). |
PageLegal | PageSize | Read | Alias for Legal (legacy Generator naming). |
Methods
| Signature | Description |
|---|---|
PageSize(width: double, height: double) | Calls PageSize on this PageSize instance. |
PageSize(x: float, y: float) |