XmpDimensions
Leave feedback
On this page
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.
| Constructor | Description |
|---|---|
| XmpDimensions() | Initializes a new instance of the XmpDimensions class. |
| XmpDimensions(double width, double height) | Initializes a new instance of the XmpDimensions class. |
| 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. |
public XmpDimensions()
Initializes a new instance of the XmpDimensions class.
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. |
public final Double getWidth()
Gets the width.
Returns: java.lang.Double - The width.
public final void setWidth(Double value)
Sets the width.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.Double | The width. |
public final Double getHeight()
Gets the height.
Returns: java.lang.Double - The height.
public final void setHeight(Double value)
Sets the height.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.Double | The height. |
public final String getUnits()
Gets the units.
Returns: java.lang.String - The units.
public final void setUnits(String value)
Sets the units.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | The units. |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.