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


## Thumbnail class

Represents thumbnail image for a file.



**Inheritance:** [`Thumbnail`](/cad/python-net/aspose.cad.xmp.types.complex.thumbnail/thumbnail) → 
[`ComplexTypeBase`](/cad/python-net/aspose.cad.xmp.types.complex/complextypebase) → 
[`XmpTypeBase`](/cad/python-net/aspose.cad.xmp.types/xmptypebase)



The Thumbnail type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [__init__](/cad/python-net/aspose.cad.xmp.types.complex.thumbnail/thumbnail/__init__/#) | Initializes a new instance of the [`Thumbnail`](/cad/python-net/aspose.cad.xmp.types.complex.thumbnail/thumbnail) class. |
| [__init__](/cad/python-net/aspose.cad.xmp.types.complex.thumbnail/thumbnail/__init__/#int-int) | Initializes a new instance of the [`Thumbnail`](/cad/python-net/aspose.cad.xmp.types.complex.thumbnail/thumbnail) class. |


### Properties
| Property | Description |
| :- | :- |
| [prefix](/cad/python-net/aspose.cad.xmp.types.complex.thumbnail/thumbnail/prefix) | Gets the prefix. |
| [namespace_uri](/cad/python-net/aspose.cad.xmp.types.complex.thumbnail/thumbnail/namespace_uri) | Gets the default namespace URI. |
| [width](/cad/python-net/aspose.cad.xmp.types.complex.thumbnail/thumbnail/width) | Gets or sets the width. |
| [height](/cad/python-net/aspose.cad.xmp.types.complex.thumbnail/thumbnail/height) | Gets or sets the height. |
| [image_base64](/cad/python-net/aspose.cad.xmp.types.complex.thumbnail/thumbnail/image_base64) | Gets or sets the image in base64 format. |


### Methods
| Method | Description |
| :- | :- |
| [get_xmp_representation](/cad/python-net/aspose.cad.xmp.types.complex.thumbnail/thumbnail/get_xmp_representation/#) | Gets the string contained value in XMP format. |



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