
## Size class

Stores a values which specify a Height and Width.



The Size type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [__init__](/html/python-net/aspose.html.drawing/size/__init__/#) | Initializes a new instance of the [`Size`](/html/python-net/aspose.html.drawing/size) class. |
| [__init__](/html/python-net/aspose.html.drawing/size/__init__/#int-int) | Initializes a new instance of the [`Size`](/html/python-net/aspose.html.drawing/size) class and specify a Height and Width in pixels. |
| [__init__](/html/python-net/aspose.html.drawing/size/__init__/#aspose.html.drawing.Length-aspose.html.drawing.Length) | Initializes a new instance of the [`Size`](/html/python-net/aspose.html.drawing/size) class. |


### Properties
| Property | Description |
| :- | :- |
| [height](/html/python-net/aspose.html.drawing/size/height) | Gets or sets the vertical component of this [`Size`](/html/python-net/aspose.html.drawing/size). |
| [width](/html/python-net/aspose.html.drawing/size/width) | Gets or sets the horizontal component of this [`Size`](/html/python-net/aspose.html.drawing/size). |



### See Also
* module [`aspose.html.drawing`](..)
* class [`Size`](/html/python-net/aspose.html.drawing/size)
