public static class SaveOptions.MarginPartStyle extends Object
Represents information of one part of margin(top, botom, left side or right side)
Constructor and Description |
---|
MarginPartStyle(boolean isAuto)
Creates instance of MarginPartStyle class
and initializes its value in points
|
MarginPartStyle(int valueInPoints)
Creates instance of MarginPartStyle class
and set its value in points
|
Modifier and Type | Method and Description |
---|---|
int |
getValueInPoints()
Represents margin in points.
|
boolean |
isAuto()
Gets or sets a value indicating whether this instance is auto.
|
void |
setAuto(boolean value)
Gets or sets a value indicating whether this instance is auto.
|
void |
setValueInPoints(int value)
Represents margin in points.
|
public MarginPartStyle(int valueInPoints)
Creates instance of MarginPartStyle class and set its value in points
valueInPoints
- Integer value in pointspublic MarginPartStyle(boolean isAuto)
Creates instance of MarginPartStyle class and initializes its value in points
isAuto
- Mark margin autopublic final boolean isAuto()
Gets or sets a value indicating whether this instance is auto.
Value:true
if this instance is auto; otherwise, false
.public final void setAuto(boolean value)
Gets or sets a value indicating whether this instance is auto.
Value:true
if this instance is auto; otherwise, false
.value
- boolean valuepublic final int getValueInPoints()
Represents margin in points. Must be number greater then zero.
public final void setValueInPoints(int value)
Represents margin in points. Must be number greater then zero.
value
- int valueCopyright © 2023 Aspose. All Rights Reserved.