Table of Contents

Class PaperFormat

Namespace
PuppeteerSharp.Media
Assembly
PuppeteerSharp.dll

Paper format.

public record PaperFormat : IEquatable<PaperFormat>
Inheritance
PaperFormat
Implements

Constructors

PaperFormat(decimal, decimal)

Initializes a new instance of the PaperFormat class. Page width and height in inches.

public PaperFormat(decimal width, decimal height)

Parameters

width decimal

Page width in inches.

height decimal

Page height in inches.

Properties

A0

A0: 33.1102 inches by 46.811 inches.

public static PaperFormat A0 { get; }

Property Value

PaperFormat

A1

A1: 23.3858 inches by 33.1102 inches.

public static PaperFormat A1 { get; }

Property Value

PaperFormat

A2

A2: 16.5354 inches by 23.3858 inches.

public static PaperFormat A2 { get; }

Property Value

PaperFormat

A3

A3: 11.6929 inches by 16.5354 inches.

public static PaperFormat A3 { get; }

Property Value

PaperFormat

A4

A4: 8.2677 inches by 11.6929 inches.

public static PaperFormat A4 { get; }

Property Value

PaperFormat

A5

A5: 5.8268 inches by 8.2677 inches.

public static PaperFormat A5 { get; }

Property Value

PaperFormat

A6

A6: 4.1339 inches by 5.8268 inches.

public static PaperFormat A6 { get; }

Property Value

PaperFormat

Height

Page height in inches.

public decimal Height { get; set; }

Property Value

decimal

The Height.

Ledger

Ledger: 17 inches by 11 inches.

public static PaperFormat Ledger { get; }

Property Value

PaperFormat

Legal: 8.5 inches by 14 inches.

public static PaperFormat Legal { get; }

Property Value

PaperFormat

Letter

Letter: 8.5 inches x 11 inches.

public static PaperFormat Letter { get; }

Property Value

PaperFormat

Tabloid

Tabloid: 11 inches by 17 inches.

public static PaperFormat Tabloid { get; }

Property Value

PaperFormat

Width

Page width in inches.

public decimal Width { get; set; }

Property Value

decimal

The width.

See Also