Thumbnail
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.imaging.xmp.types.XmpTypeBase, com.aspose.imaging.xmp.types.complex.ComplexTypeBase
public final class Thumbnail extends ComplexTypeBase
Represents thumbnail image for a file.
Constructors
Constructor | Description |
---|---|
Thumbnail() | Initializes a new instance of the Thumbnail class. |
Thumbnail(int width, int height) | Initializes a new instance of the Thumbnail class. |
Methods
Method | Description |
---|---|
getWidth() | Gets or sets the width. |
setWidth(int value) | Gets or sets the width. |
getHeight() | Gets or sets the height. |
setHeight(int value) | Gets or sets the height. |
getImageBase64() | Gets or sets the image in base64 format. |
setImageBase64(String value) | Gets or sets the image in base64 format. |
getXmpRepresentation() | Gets the string contained value in XMP format. |
Thumbnail()
public Thumbnail()
Initializes a new instance of the Thumbnail
class.
Thumbnail(int width, int height)
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()
public int getWidth()
Gets or sets the width.
Returns: int
setWidth(int value)
public void setWidth(int value)
Gets or sets the width.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getHeight()
public int getHeight()
Gets or sets the height.
Returns: int
setHeight(int value)
public void setHeight(int value)
Gets or sets the height.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
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)
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()
public String getXmpRepresentation()
Gets the string contained value in XMP format.
Returns: java.lang.String - Returns the string contained value in XMP format.