## Size class

Stores a values which specify a Height and Width.

```java
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) | Initializes a new instance of the `Size` class. |

## Properties

| Name | Description |
| --- | --- |
[getHeight]
[setHeight] Gets or sets the vertical component of this `Size`. |
[getWidth]
[setWidth] Gets or sets the horizontal component of this `Size`. |

### See Also

* package [com.aspose.html.drawing](../../com.aspose.html.drawing/)
* package [Aspose.HTML](../../)
