---
title: "Thumbnail constructor"
url: "https://reference.aspose.com/cad/python-net/aspose.cad.xmp.types.complex.thumbnail/thumbnail/__init__/"
product: "Aspose.CAD for Python via .NET API References"
---


## __init__ {#}

Initializes a new instance of the [`Thumbnail`](/cad/python-net/aspose.cad.xmp.types.complex.thumbnail/thumbnail) class.



```python
def __init__(self):
    ...
```




## __init__ {#int-int}

Initializes a new instance of the [`Thumbnail`](/cad/python-net/aspose.cad.xmp.types.complex.thumbnail/thumbnail) class.



```python
def __init__(self, width, height):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| width | int | The width. |
| height | int | The height. |



### See Also
* module [`aspose.cad.xmp.types.complex.thumbnail`](../../)
* class [`Thumbnail`](/cad/python-net/aspose.cad.xmp.types.complex.thumbnail/thumbnail)
