XmpThumbnail
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType
public final class XmpThumbnail extends XmpComplexType
Represents a thumbnail image for a file.
| Constructor | Description |
|---|---|
| XmpThumbnail() | Initializes a new instance of the XmpThumbnail class. |
| XmpThumbnail(int width, int height) | Initializes a new instance of the XmpThumbnail class. |
| Method | Description |
|---|---|
| getWidth() | Gets the image width in pixels. |
| setWidth(Integer value) | Sets the image width in pixels. |
| getHeight() | Gets the image height in pixels. |
| setHeight(Integer value) | Sets the image height in pixels. |
| getImageBase64() | Gets the full thumbnail image data, converted to base 64 notation. |
| setImageBase64(String value) | Sets the full thumbnail image data, converted to base 64 notation. |
| getImageData() | Gets the image data. |
| getFormat() | Gets the image format. |
| setFormat(String value) | Sets the image format. |
public XmpThumbnail()
Initializes a new instance of the XmpThumbnail class.
public XmpThumbnail(int width, int height)
Initializes a new instance of the XmpThumbnail class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| width | int | The width. |
| height | int | The height. |
public final Integer getWidth()
Gets the image width in pixels.
Returns: java.lang.Integer - The thumbnail width.
public final void setWidth(Integer value)
Sets the image width in pixels.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.Integer | The thumbnail width. |
public final Integer getHeight()
Gets the image height in pixels.
Returns: java.lang.Integer - The thumbnail height.
public final void setHeight(Integer value)
Sets the image height in pixels.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.Integer | The thumbnail height. |
public final String getImageBase64()
Gets the full thumbnail image data, converted to base 64 notation.
Returns: java.lang.String - The full thumbnail image data, converted to base 64 notation.
public final void setImageBase64(String value)
Sets the full thumbnail image data, converted to base 64 notation.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | The full thumbnail image data, converted to base 64 notation. |
public final byte[] getImageData()
Gets the image data.
Returns: byte[] - The image data.
public final String getFormat()
Gets the image format. Defined value: JPEG.
Returns: java.lang.String - The thumbnail format.
public final void setFormat(String value)
Sets the image format. Defined value: JPEG.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | The thumbnail format. |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.