Class PageSize
Info
Class representing size of page in PDF document.
public class PageSize
Inheritance
Derived
Inherited Members
- object.GetType(),
- object.MemberwiseClone(),
- object.ToString(),
- object.Equals(object?),
- object.Equals(object?, object?),
- object.ReferenceEquals(object?, object?),
- object.GetHashCode()
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
Properties
A0
A0 size (1189x840 mm).
public static PageSize A0 { get; }
Property Value
A1
A1 size (840x594 mm).
public static PageSize A1 { get; }
Property Value
A2
A2 size (594x420 mm).
public static PageSize A2 { get; }
Property Value
A3
A3 size (420x297 mm).
public static PageSize A3 { get; }
Property Value
A4
A4 size (297x210 mm).
public static PageSize A4 { get; }
Property Value
A5
A5 size (210x148 mm).
public static PageSize A5 { get; }
Property Value
A6
A6 size (148x105 mm).
public static PageSize A6 { get; }
Property Value
B5
B5 size (250x176 mm).
public static PageSize B5 { get; }
Property Value
Height
Gets or sets page height.
public double Height { get; set; }
Property Value
IsLandscape
Gets page orientation. Returns true of this is landscape orientation and false if this is portrait.
public bool IsLandscape { get; }
Property Value
P11x17
11x17 inches format.
public static PageSize P11x17 { get; }
Property Value
PageLedger
Ledger size (432x279 mm).
public static PageSize PageLedger { get; }
Property Value
PageLegal
Legal size (356x216 mm).
public static PageSize PageLegal { get; }
Property Value
PageLetter
Letter size (279x216 mm).
public static PageSize PageLetter { get; }
Property Value
Width
Gets or sets page width.
public double Width { get; set; }
Property Value
Namespace: Documentize Assembly: Documentize.dll