public final class Thumbnail extends ComplexTypeBase
Represents thumbnail image for a file.
Constructor and Description |
---|
Thumbnail()
Initializes a new instance of the
Thumbnail class. |
Thumbnail(int width,
int height)
Initializes a new instance of the
Thumbnail class. |
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Gets or sets the height.
|
String |
getImageBase64()
Gets or sets the image in base64 format.
|
int |
getWidth()
Gets or sets the width.
|
String |
getXmpRepresentation()
Gets the string contained value in XMP format.
|
void |
setHeight(int value)
Gets or sets the height.
|
void |
setImageBase64(String value)
Gets or sets the image in base64 format.
|
void |
setWidth(int value)
Gets or sets the width.
|
getNamespaceUri, getPrefix
public Thumbnail()
Initializes a new instance of the Thumbnail
class.
public Thumbnail(int width, int height)
Initializes a new instance of the Thumbnail
class.
width
- The width.height
- The height.public int getWidth()
Gets or sets the width.
com.aspose.ms.System.ArgumentOutOfRangeException
- value;Width could not be less than zero
Value:
The width.public void setWidth(int value)
Gets or sets the width.
com.aspose.ms.System.ArgumentOutOfRangeException
- value;Width could not be less than zero
Value:
The width.public int getHeight()
Gets or sets the height.
com.aspose.ms.System.ArgumentOutOfRangeException
- value;Height could not be less than zero
Value:
The height.public void setHeight(int value)
Gets or sets the height.
com.aspose.ms.System.ArgumentOutOfRangeException
- value;Height could not be less than zero
Value:
The height.public String getImageBase64()
Gets or sets the image in base64 format.
Value: The image in base64 format.public void setImageBase64(String value)
Gets or sets the image in base64 format.
Value: The image in base64 format.public String getXmpRepresentation()
Gets the string contained value in XMP format.
getXmpRepresentation
in interface IXmpType
getXmpRepresentation
in class ComplexTypeBase