
## Size class

Represents size.



The Size type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [__init__](/cad/python-net/aspose.cad/size/__init__/#aspose.cad.Point) | Initializes a new instance of the [`Size`](/cad/python-net/aspose.cad/size) structure from the specified [`Point`](/cad/python-net/aspose.cad/point). |
| [__init__](/cad/python-net/aspose.cad/size/__init__/#int-int) | Initializes a new instance of the [`Size`](/cad/python-net/aspose.cad/size) structure from the specified dimensions. |
| [__init__](/cad/python-net/aspose.cad/size/__init__/#) | Constructs a new instance of Size |


### Properties
| Property | Description |
| :- | :- |
| [empty](/cad/python-net/aspose.cad/size/empty) | Gets a new instance of the [`Size`](/cad/python-net/aspose.cad/size) structure that has [`Size.width`](/cad/python-net/aspose.cad/size#width) and [`Size.height`](/cad/python-net/aspose.cad/size#height) values set to zero. |
| [is_empty](/cad/python-net/aspose.cad/size/is_empty) | Gets a value indicating whether this [`Size`](/cad/python-net/aspose.cad/size) has width and height of 0. |
| [width](/cad/python-net/aspose.cad/size/width) | Gets or sets the horizontal component of this [`Size`](/cad/python-net/aspose.cad/size). |
| [height](/cad/python-net/aspose.cad/size/height) | Gets or sets the vertical component of this [`Size`](/cad/python-net/aspose.cad/size). |


### Methods
| Method | Description |
| :- | :- |
| [add](/cad/python-net/aspose.cad/size/add/#aspose.cad.Size-aspose.cad.Size) | Adds the width and height of one [`Size`](/cad/python-net/aspose.cad/size) structure to the width and height of another [`Size`](/cad/python-net/aspose.cad/size) structure. |
| [ceiling](/cad/python-net/aspose.cad/size/ceiling/#aspose.cad.SizeF) | Converts the specified [`SizeF`](/cad/python-net/aspose.cad/sizef) structure to a [`Size`](/cad/python-net/aspose.cad/size) structure by rounding the values of the [`Size`](/cad/python-net/aspose.cad/size) structure to the next higher integer values. |
| [subtract](/cad/python-net/aspose.cad/size/subtract/#aspose.cad.Size-aspose.cad.Size) | Subtracts the width and height of one [`Size`](/cad/python-net/aspose.cad/size) structure from the width and height of another [`Size`](/cad/python-net/aspose.cad/size) structure. |
| [truncate](/cad/python-net/aspose.cad/size/truncate/#aspose.cad.SizeF) | Converts the specified [`SizeF`](/cad/python-net/aspose.cad/sizef) structure to a [`Size`](/cad/python-net/aspose.cad/size) structure by truncating the values of the [`SizeF`](/cad/python-net/aspose.cad/sizef) structure to the next lower integer values. |
| [round](/cad/python-net/aspose.cad/size/round/#aspose.cad.SizeF) | Converts the specified [`SizeF`](/cad/python-net/aspose.cad/sizef) structure to a [`Size`](/cad/python-net/aspose.cad/size) structure by rounding the values of the [`SizeF`](/cad/python-net/aspose.cad/sizef) structure to the nearest integer values. |



### See Also
* module [`aspose.cad`](..)
* class [`Point`](/cad/python-net/aspose.cad/point)
* class [`Size`](/cad/python-net/aspose.cad/size)
* class [`SizeF`](/cad/python-net/aspose.cad/sizef)
