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.
|
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()