public class PrintOptions
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
PrintOptions.PageOrientation
Page orientations.
|
static class |
PrintOptions.PageSize
Available page sizes.
|
Modifier and Type | Field and Description |
---|---|
float |
marginBottom
Bottom page margin in millimeters
|
float |
marginLeft
Left page margin in millimeters
|
float |
marginRight
Right page margin in millimeters
|
float |
marginTop
Top page margin in millimeters
|
PrintOptions.PageOrientation |
pageOrientation
Page orientation
|
PrintOptions.PageSize |
pageSize
Page size
|
Constructor and Description |
---|
PrintOptions()
Default ctor.
|
PrintOptions(PrintOptions other)
Copy ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(PrintOptions other)
Assigns all fields from other instance to this instance.
|
public PrintOptions.PageSize pageSize
public PrintOptions.PageOrientation pageOrientation
public float marginTop
public float marginLeft
public float marginBottom
public float marginRight
public PrintOptions()
public PrintOptions(PrintOptions other)
other
- The other instance.public void apply(PrintOptions other)
other
- The other instance.