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 class
PrintOptions.Orientation
-
Constructor Summary
Constructors Constructor Description PrintOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getBackground()
PrintOptions.Orientation
getOrientation()
PageMargin
getPageMargin()
java.lang.String[]
getPageRanges()
PageSize
getPageSize()
double
getScale()
boolean
getShrinkToFit()
void
setBackground(boolean background)
void
setOrientation(PrintOptions.Orientation orientation)
void
setPageMargin(PageMargin margin)
void
setPageRanges(java.lang.String firstRange, java.lang.String... ranges)
void
setPageSize(PageSize pageSize)
void
setScale(double scale)
void
setShrinkToFit(boolean value)
java.util.Map<java.lang.String,java.lang.Object>
toMap()
-
-
-
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()
-
toMap
public java.util.Map<java.lang.String,java.lang.Object> toMap()
-
-