Thumbnail

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

ConstructorDescription
Thumbnail()Initializes a new instance of the Thumbnail class.
Thumbnail(int width, int height)Initializes a new instance of the Thumbnail class.

Methods

MethodDescription
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:

ParameterTypeDescription
widthintThe width.
heightintThe 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:

ParameterTypeDescription
valueint

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:

ParameterTypeDescription
valueint

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:

ParameterTypeDescription
valuejava.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.