@Deprecated public final class Thumbnail extends XmpComplexType
Represents thumbnail image for a file.
Constructor and Description |
---|
Thumbnail()
Deprecated.
Initializes a new instance of the
Thumbnail class. |
Thumbnail(int width,
int height)
Deprecated.
Initializes a new instance of the
Thumbnail class. |
Modifier and Type | Method and Description |
---|---|
String |
getFormat()
Deprecated.
Gets image format.
|
int |
getHeight()
Deprecated.
Gets or sets height.
|
String |
getImageBase64()
Deprecated.
Gets image in base64 format.
|
int |
getWidth()
Deprecated.
Gets or sets width.
|
String |
getXmpRepresentation()
Deprecated.
Returns string contained value in XMP format.
|
void |
setFormat(String value)
Deprecated.
Sets image format.
|
void |
setHeight(int value)
Deprecated.
Gets or sets height.
|
void |
setImageBase64(String value)
Deprecated.
Sets image in base64 format.
|
void |
setWidth(int value)
Deprecated.
Gets or sets width.
|
getNamespaceUri, getPrefix
toBool, toDateTime, toFloat, toGuid, toInt, toString, toStringArray
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 final int getWidth()
Gets or sets width.
com.aspose.ms.System.ArgumentOutOfRangeException
- Width could not be less than zero.
Value:
Thumbnail width.public final void setWidth(int value)
Gets or sets width.
com.aspose.ms.System.ArgumentOutOfRangeException
- Width could not be less than zero.
Value:
Thumbnail width.public final int getHeight()
Gets or sets height.
com.aspose.ms.System.ArgumentOutOfRangeException
- Height could not be less than zero.
Value:
Thumbnail height.public final void setHeight(int value)
Gets or sets height.
com.aspose.ms.System.ArgumentOutOfRangeException
- Height could not be less than zero.
Value:
Thumbnail height.public final String getImageBase64()
Gets image in base64 format.
public final void setImageBase64(String value)
Sets image in base64 format.
value
- Base64 string.public final String getFormat()
Gets image format. Defined value: JPEG.
public final void setFormat(String value)
Sets image format. Defined value: JPEG.
value
- Thumbnail format.public String getXmpRepresentation()
Returns string contained value in XMP format.
getXmpRepresentation
in interface IXmpType
getXmpRepresentation
in class XmpComplexType
string
contained XMP representation.Copyright © 2020. All rights reserved.