
**Inheritance:**
java.lang.Object, [com.aspose.psd.xmp.types.XmpTypeBase](../../com.aspose.psd.xmp.types/xmptypebase), [com.aspose.psd.xmp.types.complex.ComplexTypeBase](../../com.aspose.psd.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 |
| --- | --- |
| [add(String key, Object value)](#add-java.lang.String-java.lang.Object-) | Adds the specified key. |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getHeight()](#getHeight--) | Gets or sets the height. |
| [getImageBase64()](#getImageBase64--) | Gets or sets the image in base64 format. |
| [getNamespaceUri()](#getNamespaceUri--) | Gets the default namespace URI. |
| [getPrefix()](#getPrefix--) | Gets the prefix. |
| [getWidth()](#getWidth--) | Gets or sets the width. |
| [getXmpRepresentation()](#getXmpRepresentation--) | Gets the string contained value in XMP format. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setHeight(int value)](#setHeight-int-) | Gets or sets the height. |
| [setImageBase64(String value)](#setImageBase64-java.lang.String-) | Gets or sets the image in base64 format. |
| [setWidth(int value)](#setWidth-int-) | Gets or sets the width. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### 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. |

### add(String key, Object value) {#add-java.lang.String-java.lang.Object-}
```
public void add(String key, Object value)
```


Adds the specified key.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| key | java.lang.String | The string representation of key that is identified with added value. |
| value | java.lang.Object | The value to add to. |

### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getHeight() {#getHeight--}
```
public int getHeight()
```


Gets or sets the height.

**Returns:**
int
### getImageBase64() {#getImageBase64--}
```
public String getImageBase64()
```


Gets or sets the image in base64 format.

Value: The image in base64 format.

**Returns:**
java.lang.String
### getNamespaceUri() {#getNamespaceUri--}
```
public String getNamespaceUri()
```


Gets the default namespace URI.

**Returns:**
java.lang.String - The default namespace URI.
### getPrefix() {#getPrefix--}
```
public String getPrefix()
```


Gets the prefix.

**Returns:**
java.lang.String - The prefix.
### getWidth() {#getWidth--}
```
public int getWidth()
```


Gets or sets the width.

**Returns:**
int
### 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.
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




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


Gets or sets the height.

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

### 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 |  |

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


Gets or sets the width.

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

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




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




### wait(long arg0) {#wait-long-}
```
public final void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

