Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfPageSizes

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
e163ccb36643 with working tree changes
Modifiers
static

Commonly used page sizes.

Inheritance

  • object
  • PdfPageSizes

Methods

public static PdfPageSize Get(string name) #

Resolves a standard page-size name.

Parameters

name string required
public static bool TryGet(string? name, out PdfPageSize pageSize) #

Attempts to resolve a standard page-size name.

Parameters

name string? required
pageSize OfficeIMO.Pdf.PdfPageSize required

Returns

bool

Properties

public static PdfPageSize A0 { get; } #

ISO A0 size (2384 × 3370 pt).

public static PdfPageSize A1 { get; } #

ISO A1 size (1684 × 2384 pt).

public static PdfPageSize A2 { get; } #

ISO A2 size (1190 × 1684 pt).

public static PdfPageSize A3 { get; } #

ISO A3 size (842 × 1190 pt).

public static PdfPageSize A5 { get; } #

ISO A5 size (420 × 595 pt).

public static PdfPageSize A4 { get; } #

ISO A4 size (595 × 842 pt).

public static PdfPageSize A6 { get; } #

ISO A6 size (298 × 420 pt).

public static PdfPageSize A7 { get; } #

ISO A7 size (210 × 298 pt).

public static PdfPageSize A8 { get; } #

ISO A8 size (148 × 210 pt).

public static PdfPageSize A9 { get; } #

ISO A9 size (105 × 148 pt).

public static PdfPageSize A10 { get; } #

ISO A10 size (74 × 105 pt).

public static PdfPageSize B0 { get; } #

ISO B0 size (2834 × 4008 pt).

public static PdfPageSize B1 { get; } #

ISO B1 size (2004 × 2834 pt).

public static PdfPageSize B2 { get; } #

ISO B2 size (1417 × 2004 pt).

public static PdfPageSize B3 { get; } #

ISO B3 size (1000 × 1417 pt).

public static PdfPageSize B4 { get; } #

ISO B4 size (708 × 1000 pt).

public static PdfPageSize B5 { get; } #

ISO B5 size (498 × 708 pt).

public static PdfPageSize B6 { get; } #

ISO B6 size (354 × 498 pt).

public static PdfPageSize B7 { get; } #

ISO B7 size (249 × 354 pt).

public static PdfPageSize B8 { get; } #

ISO B8 size (175 × 249 pt).

public static PdfPageSize B9 { get; } #

ISO B9 size (124 × 175 pt).

public static PdfPageSize B10 { get; } #

ISO B10 size (88 × 124 pt).

public static PdfPageSize Executive { get; } #

US Executive size (522 × 756 pt).

public static PdfPageSize Letter { get; } #

US Letter size (612 × 792 pt).

public static PdfPageSize Ledger { get; } #

US Ledger size (1224 × 792 pt).

public static PdfPageSize Tabloid { get; } #

US Tabloid size (792 × 1224 pt).

public static PdfPageSize LedgerOrTabloid { get; } #

Alias for US Ledger or Tabloid landscape size (1224 × 792 pt).

public static IReadOnlyCollection<string> Names { get; } #

Known standard page-size names.