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 a float value that indicates the bottom margin.
|
double |
getLeft()
Gets a float value that indicates the left margin.
|
double |
getRight()
Gets a float value that indicates the right margin.
|
double |
getTop()
Gets a float value that indicates the top margin.
|
void |
setBottom(double value)
Sets a float value that indicates the bottom margin.
|
void |
setLeft(double value)
Sets a float value that indicates the left margin.
|
void |
setRight(double value)
Sets a float value that indicates the right margin.
|
void |
setTop(double value)
Sets a float value that indicates the top margin.
|
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 a float value that indicates the left margin.
public void setLeft(double value)
Sets a float value that indicates the left margin.
value
- double valuepublic double getRight()
Gets a float value that indicates the right margin.
public void setRight(double value)
Sets a float value that indicates the right margin.
value
- double valuepublic double getTop()
Gets a float value that indicates the top margin.
public void setTop(double value)
Sets a float value that indicates the top margin.
value
- double valuepublic double getBottom()
Gets a float value that indicates the bottom margin.
public void setBottom(double value)
Sets a float value that indicates the bottom margin.
value
- double valuepublic Object deepClone()
Clones a new MarginInfo
object.
deepClone
in interface com.aspose.ms.System.ICloneable