public class PageMargins extends Object
Represents page margins for printing.
Constructor and Description |
---|
PageMargins() |
Modifier and Type | Method and Description |
---|---|
int |
getBorders()
Specifies where to print borders.
|
double |
getBottom()
The size of the bottom margin in inches or centimeters.
|
double |
getLeft()
The size of the left margin in inches or centimeters.
|
double |
getRight()
The size of the right margin in inches or centimeters.
|
double |
getTop()
The size of the top margin in inches or centimeters.
|
void |
setBorders(int value)
Specifies where to print borders.
|
void |
setBottom(double value)
The size of the bottom margin in inches or centimeters.
|
void |
setLeft(double value)
The size of the left margin in inches or centimeters.
|
void |
setRight(double value)
The size of the right margin in inches or centimeters.
|
void |
setTop(double value)
The size of the top margin in inches or centimeters.
|
public int getBorders()
Specifies where to print borders. Can be one of the values of the Border
enum.
public void setBorders(int value)
Specifies where to print borders. Can be one of the values of the Border
enum.
value
- the value which specifies where to print borders.public double getBottom()
The size of the bottom margin in inches or centimeters.
public void setBottom(double value)
The size of the bottom margin in inches or centimeters.
value
- the specified size of the bottom margin in inches or centimeters.public double getLeft()
The size of the left margin in inches or centimeters.
public void setLeft(double value)
The size of the left margin in inches or centimeters.
value
- the specified size of the left margin in inches or centimeters.public double getRight()
The size of the right margin in inches or centimeters.
public void setRight(double value)
The size of the right margin in inches or centimeters.
value
- the specified size of the right margin in inches or centimeters.public double getTop()
The size of the top margin in inches or centimeters.
public void setTop(double value)
The size of the top margin in inches or centimeters.
value
- the specified size of the top margin in inches or centimeters.Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.