Table of Contents

Class PrintOptions.PageSize

Namespace
OpenQA.Selenium
Assembly
WebDriver.dll

An object representing the page size of the print options.

public class PrintOptions.PageSize
Inheritance
PrintOptions.PageSize
Inherited Members

Properties

Height

Gets or sets the height of each page in centimeters.

public double Height { get; set; }

Property Value

double

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

double

Exceptions

ArgumentOutOfRangeException

If the value is set to a negative value.

Width

Gets or sets the width of each page in centimeters.

public double Width { get; set; }

Property Value

double

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

double

Exceptions

ArgumentOutOfRangeException

If the value is set to a negative value.