Table of Contents

Class PrintOptions.Margins

Namespace
OpenQA.Selenium
Assembly
WebDriver.dll

An object representing the margins for printing.

public class PrintOptions.Margins
Inheritance
PrintOptions.Margins
Inherited Members

Properties

Bottom

Gets or sets the bottom margin of the print options.

public double Bottom { get; set; }

Property Value

double

Exceptions

ArgumentOutOfRangeException

If the value is set to a negative value.

Left

Gets or sets the left margin of the print options.

public double Left { get; set; }

Property Value

double

Exceptions

ArgumentOutOfRangeException

If the value is set to a negative value.

Right

Gets or sets the right margin of the print options.

public double Right { get; set; }

Property Value

double

Exceptions

ArgumentOutOfRangeException

If the value is set to a negative value.

Top

Gets or sets the top margin of the print options.

public double Top { get; set; }

Property Value

double

Exceptions

ArgumentOutOfRangeException

If the value is set to a negative value.