## Size class

Stores a values which specify a Height and Width.

```csharp
public class Size
```

## Constructors

| Name | Description |
| --- | --- |
| [Size](size/#constructor)() | Initializes a new instance of the `Size` class. |
| [Size](size/#constructor_2)(*int, int*) | Initializes a new instance of the `Size` class and specify a Height and Width in pixels. |
| [Size](size/#constructor_1)(*[Length](../length/), [Length](../length/)*) | Initializes a new instance of the `Size` class. |

## Properties

| Name | Description |
| --- | --- |
| [Height](../../aspose.html.drawing/size/height/) { get; set; } | Gets or sets the vertical component of this `Size`. |
| [Width](../../aspose.html.drawing/size/width/) { get; set; } | Gets or sets the horizontal component of this `Size`. |

### See Also

* namespace [Aspose.Html.Drawing](../../aspose.html.drawing/)
* assembly [Aspose.HTML](../../)
