class
Margin
Source: aspose.
Specifies the margin.
new Margin(value, unit)
Constructor.
Parameters
Name | Type | Optional | Description |
---|---|---|---|
value |
|
|
|
unit |
|
|
MeasureConst |
Methods
equals(value) → boolean
Are objects equal.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
value |
Object |
|
- Returns
-
boolean
getUnit()
Represents a unit of measure. The default is DP. The value of the property is MeasureConst integer constant.
getValue()
Specifies the margin.
hashCode() → Number
Serves as a hash function for a particular type.
- Returns
-
Number
setUnit()
Represents a unit of measure. The default is DP. The value of the property is MeasureConst integer constant.
setValue()
Specifies the margin.