XmpDimensions
Contents
[
Hide
]
Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType
public final class XmpDimensions extends XmpComplexType
Containing dimensions for a drawn object.
Constructors
Constructor | Description |
---|---|
XmpDimensions() | Initializes a new instance of the XmpDimensions class. |
XmpDimensions(double width, double height) | Initializes a new instance of the XmpDimensions class. |
Methods
Method | Description |
---|---|
getWidth() | Gets the width. |
setWidth(Double value) | Sets the width. |
getHeight() | Gets the height. |
setHeight(Double value) | Sets the height. |
getUnits() | Gets the units. |
setUnits(String value) | Sets the units. |
XmpDimensions()
public XmpDimensions()
Initializes a new instance of the XmpDimensions class.
XmpDimensions(double width, double height)
public XmpDimensions(double width, double height)
Initializes a new instance of the XmpDimensions class.
Parameters:
Parameter | Type | Description |
---|---|---|
width | double | The width. |
height | double | The height. |
getWidth()
public final Double getWidth()
Gets the width.
Returns: java.lang.Double - The width.
setWidth(Double value)
public final void setWidth(Double value)
Sets the width.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.Double | The width. |
getHeight()
public final Double getHeight()
Gets the height.
Returns: java.lang.Double - The height.
setHeight(Double value)
public final void setHeight(Double value)
Sets the height.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.Double | The height. |
getUnits()
public final String getUnits()
Gets the units.
Returns: java.lang.String - The units.
setUnits(String value)
public final void setUnits(String value)
Sets the units.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | The units. |