Skip to content

PaperFormat

Namespace: PuppeteerSharp.Media

public record PaperFormat : IEquatable<PaperFormat>

Paper format.

Inheritance: object

Implements: IEquatable<PaperFormat>

View source

public PaperFormat(decimal width, decimal height)

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

Parameters

Name Type Description
width decimal Page width in inches.
height decimal Page height in inches.

View source

public static PaperFormat A0 { get; }

A0: 33.1102 inches by 46.811 inches.

Value: PaperFormat

View source

public static PaperFormat A1 { get; }

A1: 23.3858 inches by 33.1102 inches.

Value: PaperFormat

View source

public static PaperFormat A2 { get; }

A2: 16.5354 inches by 23.3858 inches.

Value: PaperFormat

View source

public static PaperFormat A3 { get; }

A3: 11.6929 inches by 16.5354 inches.

Value: PaperFormat

View source

public static PaperFormat A4 { get; }

A4: 8.2677 inches by 11.6929 inches.

Value: PaperFormat

View source

public static PaperFormat A5 { get; }

A5: 5.8268 inches by 8.2677 inches.

Value: PaperFormat

View source

public static PaperFormat A6 { get; }

A6: 4.1339 inches by 5.8268 inches.

Value: PaperFormat

View source

public decimal Height { get; set; }

Page height in inches.

Value: decimal — The Height.

View source

public static PaperFormat Ledger { get; }

Ledger: 17 inches by 11 inches.

Value: PaperFormat

View source

public static PaperFormat Legal { get; }

Legal: 8.5 inches by 14 inches.

Value: PaperFormat

View source

public static PaperFormat Letter { get; }

Letter: 8.5 inches x 11 inches.

Value: PaperFormat

View source

public static PaperFormat Tabloid { get; }

Tabloid: 11 inches by 17 inches.

Value: PaperFormat

View source

public decimal Width { get; set; }

Page width in inches.

Value: decimal — The width.

View source

Made with love by Dario Kondratiuk