Class PageSize
- Namespace
- MiPdf
- Assembly
- MiPdf.dll
Common page sizes in points (1 pt = 1/72 inch).
public static class PageSize
- Inheritance
-
PageSize
- Inherited Members
Fields
A0
ISO A0 portrait (841 x 1189 mm, 2384 x 3370 pt).
public static readonly PdfRectangle A0
Field Value
A1
ISO A1 portrait (594 x 841 mm, 1684 x 2384 pt).
public static readonly PdfRectangle A1
Field Value
A2
ISO A2 portrait (420 x 594 mm, 1191 x 1684 pt).
public static readonly PdfRectangle A2
Field Value
A3
ISO A3 portrait (297 x 420 mm, 842 x 1191 pt).
public static readonly PdfRectangle A3
Field Value
A4
ISO A4 portrait (210 x 297 mm, 595 x 842 pt).
public static readonly PdfRectangle A4
Field Value
A5
ISO A5 portrait (148 x 210 mm, 420 x 595 pt).
public static readonly PdfRectangle A5
Field Value
A6
ISO A6 portrait (105 x 148 mm, 298 x 420 pt).
public static readonly PdfRectangle A6
Field Value
B4
ISO B4 portrait (250 x 353 mm, 709 x 1001 pt).
public static readonly PdfRectangle B4
Field Value
B5
ISO B5 portrait (176 x 250 mm, 499 x 709 pt).
public static readonly PdfRectangle B5
Field Value
Executive
US Executive portrait (7.25 x 10.5 in, 522 x 756 pt).
public static readonly PdfRectangle Executive
Field Value
Ledger
US Ledger, Tabloid in landscape (17 x 11 in, 1224 x 792 pt).
public static readonly PdfRectangle Ledger
Field Value
Legal
US Legal portrait (8.5 x 14 in, 612 x 1008 pt).
public static readonly PdfRectangle Legal
Field Value
Letter
US Letter portrait (8.5 x 11 in, 612 x 792 pt).
public static readonly PdfRectangle Letter
Field Value
Tabloid
US Tabloid (11 x 17 in, 792 x 1224 pt).
public static readonly PdfRectangle Tabloid
Field Value
Methods
FromMillimeters(double, double)
Creates a page size at the origin from a width and height in millimeters (converted to points).
public static PdfRectangle FromMillimeters(double width, double height)
Parameters
Returns
Landscape(PdfRectangle)
Returns size with width and height swapped, keeping its lower-left corner.
public static PdfRectangle Landscape(PdfRectangle size)
Parameters
sizePdfRectangle