Class PrintOptions.PageSize
An object representing the page size of the print options.
public class PrintOptions.PageSize
- Inheritance
-
PrintOptions.PageSize
- Inherited Members
Properties
A4
Represents the A4 paper size. Width: 21.0 cm, Height: 29.7 cm
public static PrintOptions.PageSize A4 { get; }
Property Value
Height
Gets or sets the height of each page in centimeters.
public double Height { get; set; }
Property Value
Exceptions
- ArgumentOutOfRangeException
If the value is set to a negative value.
HeightInInches
Gets or sets the height of each page in inches.
public double HeightInInches { get; set; }
Property Value
Exceptions
- ArgumentOutOfRangeException
If the value is set to a negative value.
Legal
Represents the Legal paper size. Width: 21.59 cm, Height: 35.56 cm
public static PrintOptions.PageSize Legal { get; }
Property Value
Letter
Represents the Letter paper size. Width: 21.59 cm, Height: 27.94 cm
public static PrintOptions.PageSize Letter { get; }
Property Value
Tabloid
Represents the Tabloid paper size. Width: 27.94 cm, Height: 43.18 cm
public static PrintOptions.PageSize Tabloid { get; }
Property Value
Width
Gets or sets the width of each page in centimeters.
public double Width { get; set; }
Property Value
Exceptions
- ArgumentOutOfRangeException
If the value is set to a negative value.
WidthInInches
Gets or sets the width of each page in inches.
public double WidthInInches { get; set; }
Property Value
Exceptions
- ArgumentOutOfRangeException
If the value is set to a negative value.