## Dimensions class

Containing dimensions for a drawn object.

```csharp
public sealed class Dimensions : ComplexTypeBase
```

## Constructors

| Name | Description |
| --- | --- |
| [Dimensions](dimensions/#constructor)() | Initializes a new instance of the `Dimensions` class. |
| [Dimensions](dimensions/#constructor_1)(float, float) | Initializes a new instance of the `Dimensions` class. |

## Properties

| Name | Description |
| --- | --- |
| [Height](../../aspose.imaging.xmp.types.complex.dimensions/dimensions/height/) { get; set; } | Gets or sets the height. |
| [NamespaceUri](../../aspose.imaging.xmp.types.complex/complextypebase/namespaceuri/) { get; } | Gets the default namespace URI. |
| [Prefix](../../aspose.imaging.xmp.types.complex/complextypebase/prefix/) { get; } | Gets the prefix. |
| [Units](../../aspose.imaging.xmp.types.complex.dimensions/dimensions/units/) { get; set; } | Gets or sets units. |
| [Width](../../aspose.imaging.xmp.types.complex.dimensions/dimensions/width/) { get; set; } | Gets or sets the width. |

## Methods

| Name | Description |
| --- | --- |
| virtual [Clone](../../aspose.imaging.xmp.types/xmptypebase/clone/)() | Clones this instance. |
| override [GetXmpRepresentation](../../aspose.imaging.xmp.types.complex.dimensions/dimensions/getxmprepresentation/)() | Gets the string contained value in XMP format. |
| override [ToString](../../aspose.imaging.xmp.types/xmptypebase/tostring/)() | Gets this XMP data as string. |

### See Also

* class [ComplexTypeBase](../../aspose.imaging.xmp.types.complex/complextypebase/)
* namespace [Aspose.Imaging.Xmp.Types.Complex.Dimensions](../../aspose.imaging.xmp.types.complex.dimensions/)
* assembly [Aspose.Imaging](../../)


