public final class MarginInfo extends Object implements com.aspose.ms.System.ICloneable
This class represents a margin for different objects.
Constructor and Description |
---|
MarginInfo()
Initializes a new instance of the
MarginInfo class. |
MarginInfo(double left,
double bottom,
double right,
double top)
Constructor of Rectangle.
|
Modifier and Type | Method and Description |
---|---|
Object |
deepClone()
Clones a new
MarginInfo object. |
double |
getBottom()
Gets or sets a float value that indicates the bottom margin.
|
double |
getLeft()
Gets or sets a float value that indicates the left margin.
|
double |
getRight()
Gets or sets a float value that indicates the right margin.
|
double |
getTop()
Gets or sets a float value that indicates the top margin.
|
void |
setBottom(double value) |
void |
setLeft(double value) |
void |
setRight(double value) |
void |
setTop(double value) |
public MarginInfo()
Initializes a new instance of the MarginInfo
class.
public MarginInfo(double left, double bottom, double right, double top)
Constructor of Rectangle.
left
- Left margin.bottom
- Bottom marginright
- Right margin.top
- Top margin.public double getLeft()
Gets or sets a float value that indicates the left margin. The unit is point. In XML,the default unit is point,but cm and inch are also supported. For example,"10cm" or "5inch".
public void setLeft(double value)
public double getRight()
Gets or sets a float value that indicates the right margin. The unit is point. In XML,the default unit is point,but cm and inch are also supported. For example,"10cm" or "5inch".
public void setRight(double value)
public double getTop()
Gets or sets a float value that indicates the top margin. The unit is point. In XML,the default unit is point,but cm and inch are also supported. For example,"10cm" or "5inch".
public void setTop(double value)
public double getBottom()
Gets or sets a float value that indicates the bottom margin. The unit is point. In XML,the default unit is point,but cm and inch are also supported. For example,"10cm" or "5inch".
public void setBottom(double value)
public Object deepClone()
Clones a new MarginInfo
object.
deepClone
in interface com.aspose.ms.System.ICloneable
Copyright © 2017 Aspose. All Rights Reserved.