public class Page
extends java.lang.Object
implements java.lang.Cloneable
Represents a page object is used for configuration output page. The lacuna value for page size is A4(210x297mm)
| Constructor and Description |
|---|
Page()
Initializes a new instance of the
Page class. |
Page(Margin margin)
Initializes a new instance of the
Page class. |
Page(Size size)
Initializes a new instance of the
Page class. |
Page(Size size,
Margin margin)
Initializes a new instance of the
Page class. |
| Modifier and Type | Method and Description |
|---|---|
Page |
deepClone() |
Margin |
getMargin()
Gets or sets the page margin.
|
Size |
getSize()
Gets or sets the page size.
|
protected java.lang.Object |
memberwiseClone() |
void |
setMargin(Margin value)
Gets or sets the page margin.
|
void |
setSize(Size value)
Gets or sets the page size.
|
public Page(Size size, Margin margin)
Initializes a new instance of the Page class.
size - The page size.margin - The margin.public Page(Size size)
Initializes a new instance of the Page class.
size - The page size.public Page(Margin margin)
Initializes a new instance of the Page class.
margin - The margin.public Page()
Initializes a new instance of the Page class.
public Size getSize()
Gets or sets the page size.
Value: The size.public void setSize(Size value)
Gets or sets the page size.
Value: The size.public Margin getMargin()
Gets or sets the page margin.
Value: The margin.public void setMargin(Margin value)
Gets or sets the page margin.
Value: The margin.public Page deepClone()
protected java.lang.Object memberwiseClone()