Package org.openqa.selenium.print
Class PrintOptions
- java.lang.Object
-
- org.openqa.selenium.print.PrintOptions
-
public class PrintOptions extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPrintOptions.Orientation
-
Constructor Summary
Constructors Constructor Description PrintOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetBackground()PrintOptions.OrientationgetOrientation()PageMargingetPageMargin()java.lang.String[]getPageRanges()PageSizegetPageSize()doublegetScale()booleangetShrinkToFit()voidsetBackground(boolean background)voidsetOrientation(PrintOptions.Orientation orientation)voidsetPageMargin(PageMargin margin)voidsetPageRanges(java.lang.String firstRange, java.lang.String... ranges)voidsetPageSize(PageSize pageSize)voidsetScale(double scale)voidsetShrinkToFit(boolean value)
-
-
-
Method Detail
-
getOrientation
public PrintOptions.Orientation getOrientation()
-
setOrientation
public void setOrientation(PrintOptions.Orientation orientation)
-
getPageRanges
public java.lang.String[] getPageRanges()
-
setPageRanges
public void setPageRanges(java.lang.String firstRange, java.lang.String... ranges)
-
setBackground
public void setBackground(boolean background)
-
getBackground
public boolean getBackground()
-
setScale
public void setScale(double scale)
-
getScale
public double getScale()
-
getShrinkToFit
public boolean getShrinkToFit()
-
setShrinkToFit
public void setShrinkToFit(boolean value)
-
setPageSize
public void setPageSize(PageSize pageSize)
-
setPageMargin
public void setPageMargin(PageMargin margin)
-
getPageSize
public PageSize getPageSize()
-
getPageMargin
public PageMargin getPageMargin()
-
-