Thumbnail

Inheritance: java.lang.Object, com.aspose.psd.xmp.types.XmpTypeBase, com.aspose.psd.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
add(String key, Object value)Adds the specified key.
equals(Object arg0)
getClass()
getHeight()Gets or sets the height.
getImageBase64()Gets or sets the image in base64 format.
getNamespaceUri()Gets the default namespace URI.
getPrefix()Gets the prefix.
getWidth()Gets or sets the width.
getXmpRepresentation()Gets the string contained value in XMP format.
hashCode()
notify()
notifyAll()
setHeight(int value)Gets or sets the height.
setImageBase64(String value)Gets or sets the image in base64 format.
setWidth(int value)Gets or sets the width.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

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.

add(String key, Object value)

public void add(String key, Object value)

Adds the specified key.

Parameters:

ParameterTypeDescription
keyjava.lang.StringThe string representation of key that is identified with added value.
valuejava.lang.ObjectThe value to add to.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getHeight()

public int getHeight()

Gets or sets the height.

Returns: int

getImageBase64()

public String getImageBase64()

Gets or sets the image in base64 format.

Value: The image in base64 format.

Returns: java.lang.String

getNamespaceUri()

public String getNamespaceUri()

Gets the default namespace URI.

Returns: java.lang.String - The default namespace URI.

getPrefix()

public String getPrefix()

Gets the prefix.

Returns: java.lang.String - The prefix.

getWidth()

public int getWidth()

Gets or sets the width.

Returns: int

getXmpRepresentation()

public String getXmpRepresentation()

Gets the string contained value in XMP format.

Returns: java.lang.String - Returns the string contained value in XMP format.

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setHeight(int value)

public void setHeight(int value)

Gets or sets the height.

Parameters:

ParameterTypeDescription
valueint

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

setWidth(int value)

public void setWidth(int value)

Gets or sets the width.

Parameters:

ParameterTypeDescription
valueint

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int