SaveOptions.MarginPartStyle
Contents
[
Hide
]Inheritance: java.lang.Object
public static class SaveOptions.MarginPartStyle
Represents information of one part of margin(top, botom, left side or right side)
Constructors
Constructor | Description |
---|---|
MarginPartStyle(int valueInPoints) | Creates instance of MarginPartStyle class and set its value in points |
MarginPartStyle(boolean isAuto) | Creates instance of MarginPartStyle class and initializes its value in points |
Methods
Method | Description |
---|---|
isAuto() | Gets or sets a value indicating whether this instance is auto. |
setAuto(boolean value) | Gets or sets a value indicating whether this instance is auto. |
getValueInPoints() | Represents margin in points. |
setValueInPoints(int value) | Represents margin in points. |
MarginPartStyle(int valueInPoints)
public MarginPartStyle(int valueInPoints)
Creates instance of MarginPartStyle class and set its value in points
Parameters:
Parameter | Type | Description |
---|---|---|
valueInPoints | int | Integer value in points |
MarginPartStyle(boolean isAuto)
public MarginPartStyle(boolean isAuto)
Creates instance of MarginPartStyle class and initializes its value in points
Parameters:
Parameter | Type | Description |
---|---|---|
isAuto | boolean | Mark margin auto |
isAuto()
public final boolean isAuto()
Gets or sets a value indicating whether this instance is auto.
Value: true if this instance is auto; otherwise, false .
Returns: boolean - boolean value
setAuto(boolean value)
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 .
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | boolean value |
getValueInPoints()
public final int getValueInPoints()
Represents margin in points. Must be number greater then zero.
Returns: int - int value
setValueInPoints(int value)
public final void setValueInPoints(int value)
Represents margin in points. Must be number greater then zero.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | int value |