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.1 inches by 46.8 inches.

public static PaperFormat A0 { get; }

Property Value

PaperFormat

A1

A1: 23.4 inches by 33.1 inches.

public static PaperFormat A1 { get; }

Property Value

PaperFormat

A2

A2: 16.5 inches by 23.4 inches.

public static PaperFormat A2 { get; }

Property Value

PaperFormat

A3

A3: 11.7 inches by 16.5 inches.

public static PaperFormat A3 { get; }

Property Value

PaperFormat

A4

A4: 8.27 inches by 11.7 inches.

public static PaperFormat A4 { get; }

Property Value

PaperFormat

A5

A5: 5.83 inches by 8.27 inches.

public static PaperFormat A5 { get; }

Property Value

PaperFormat

A6

A6: 4.13 inches by 5.83 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