**Inheritance:**
java.lang.Object, [com.aspose.imaging.xmp.types.XmpTypeBase](../../com.aspose.imaging.xmp.types/xmptypebase), [com.aspose.imaging.xmp.types.complex.ComplexTypeBase](../../com.aspose.imaging.xmp.types.complex/complextypebase)
```
public final class Thumbnail extends ComplexTypeBase
```

Represents thumbnail image for a file.
## Constructors

| Constructor | Description |
| --- | --- |
| [Thumbnail()](#Thumbnail--) | Initializes a new instance of the `Thumbnail` class. |
| [Thumbnail(int width, int height)](#Thumbnail-int-int-) | Initializes a new instance of the `Thumbnail` class. |
## Methods

| Method | Description |
| --- | --- |
| [getWidth()](#getWidth--) | Gets or sets the width. |
| [setWidth(int value)](#setWidth-int-) | Gets or sets the width. |
| [getHeight()](#getHeight--) | Gets or sets the height. |
| [setHeight(int value)](#setHeight-int-) | Gets or sets the height. |
| [getImageBase64()](#getImageBase64--) | Gets or sets the image in base64 format. |
| [setImageBase64(String value)](#setImageBase64-java.lang.String-) | Gets or sets the image in base64 format. |
| [getXmpRepresentation()](#getXmpRepresentation--) | Gets the string contained value in XMP format. |
### Thumbnail() {#Thumbnail--}
```
public Thumbnail()
```


Initializes a new instance of the `Thumbnail` class.

### Thumbnail(int width, int height) {#Thumbnail-int-int-}
```
public Thumbnail(int width, int height)
```


Initializes a new instance of the `Thumbnail` class.

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

### getWidth() {#getWidth--}
```
public int getWidth()
```


Gets or sets the width.

**Returns:**
int
### setWidth(int value) {#setWidth-int-}
```
public void setWidth(int value)
```


Gets or sets the width.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### getHeight() {#getHeight--}
```
public int getHeight()
```


Gets or sets the height.

**Returns:**
int
### setHeight(int value) {#setHeight-int-}
```
public void setHeight(int value)
```


Gets or sets the height.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### getImageBase64() {#getImageBase64--}
```
public String getImageBase64()
```


Gets or sets the image in base64 format.

Value: The image in base64 format.

**Returns:**
java.lang.String
### setImageBase64(String value) {#setImageBase64-java.lang.String-}
```
public void setImageBase64(String value)
```


Gets or sets the image in base64 format.

Value: The image in base64 format.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### getXmpRepresentation() {#getXmpRepresentation--}
```
public String getXmpRepresentation()
```


Gets the string contained value in XMP format.

**Returns:**
java.lang.String - Returns the string contained value in XMP format.
