Class PageSize

Info

Class representing size of page in PDF document.

public class PageSize

Inheritance

objectPageSize

Derived

Inherited Members

Constructors

PageSize()

Constructor of Documentize.PageSize. A4 sizes by default.

public PageSize()

PageSize(double, double)

Constructor of Documentize.PageSize.

public PageSize(double width, double height)

Parameters

  • width double: Width of the page.
  • height double: Height of the page.

Properties

A0

A0 size (1189x840 mm).

public static PageSize A0 { get; }

Property Value

PageSize

A1

A1 size (840x594 mm).

public static PageSize A1 { get; }

Property Value

PageSize

A2

A2 size (594x420 mm).

public static PageSize A2 { get; }

Property Value

PageSize

A3

A3 size (420x297 mm).

public static PageSize A3 { get; }

Property Value

PageSize

A4

A4 size (297x210 mm).

public static PageSize A4 { get; }

Property Value

PageSize

A5

A5 size (210x148 mm).

public static PageSize A5 { get; }

Property Value

PageSize

A6

A6 size (148x105 mm).

public static PageSize A6 { get; }

Property Value

PageSize

B5

B5 size (250x176 mm).

public static PageSize B5 { get; }

Property Value

PageSize

Height

Gets or sets page height.

public double Height { get; set; }

Property Value

double

IsLandscape

Gets page orientation. Returns true of this is landscape orientation and false if this is portrait.

public bool IsLandscape { get; }

Property Value

bool

P11x17

11x17 inches format.

public static PageSize P11x17 { get; }

Property Value

PageSize

PageLedger

Ledger size (432x279 mm).

public static PageSize PageLedger { get; }

Property Value

PageSize

Legal size (356x216 mm).

public static PageSize PageLegal { get; }

Property Value

PageSize

PageLetter

Letter size (279x216 mm).

public static PageSize PageLetter { get; }

Property Value

PageSize

Width

Gets or sets page width.

public double Width { get; set; }

Property Value

double

Namespace: Documentize Assembly: Documentize.dll

 English