Table of Contents

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

PdfRectangle

A1

ISO A1 portrait (594 x 841 mm, 1684 x 2384 pt).

public static readonly PdfRectangle A1

Field Value

PdfRectangle

A2

ISO A2 portrait (420 x 594 mm, 1191 x 1684 pt).

public static readonly PdfRectangle A2

Field Value

PdfRectangle

A3

ISO A3 portrait (297 x 420 mm, 842 x 1191 pt).

public static readonly PdfRectangle A3

Field Value

PdfRectangle

A4

ISO A4 portrait (210 x 297 mm, 595 x 842 pt).

public static readonly PdfRectangle A4

Field Value

PdfRectangle

A5

ISO A5 portrait (148 x 210 mm, 420 x 595 pt).

public static readonly PdfRectangle A5

Field Value

PdfRectangle

A6

ISO A6 portrait (105 x 148 mm, 298 x 420 pt).

public static readonly PdfRectangle A6

Field Value

PdfRectangle

B4

ISO B4 portrait (250 x 353 mm, 709 x 1001 pt).

public static readonly PdfRectangle B4

Field Value

PdfRectangle

B5

ISO B5 portrait (176 x 250 mm, 499 x 709 pt).

public static readonly PdfRectangle B5

Field Value

PdfRectangle

Executive

US Executive portrait (7.25 x 10.5 in, 522 x 756 pt).

public static readonly PdfRectangle Executive

Field Value

PdfRectangle

Ledger

US Ledger, Tabloid in landscape (17 x 11 in, 1224 x 792 pt).

public static readonly PdfRectangle Ledger

Field Value

PdfRectangle

US Legal portrait (8.5 x 14 in, 612 x 1008 pt).

public static readonly PdfRectangle Legal

Field Value

PdfRectangle

Letter

US Letter portrait (8.5 x 11 in, 612 x 792 pt).

public static readonly PdfRectangle Letter

Field Value

PdfRectangle

Tabloid

US Tabloid (11 x 17 in, 792 x 1224 pt).

public static readonly PdfRectangle Tabloid

Field Value

PdfRectangle

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

width double
height double

Returns

PdfRectangle

Landscape(PdfRectangle)

Returns size with width and height swapped, keeping its lower-left corner.

public static PdfRectangle Landscape(PdfRectangle size)

Parameters

size PdfRectangle

Returns

PdfRectangle