com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class Thumbnail

  • All Implemented Interfaces:
    IXmpType


    public final class Thumbnail
    extends XmpComplexType

    Represents thumbnail image for a file.

    • Constructor Detail

      • Thumbnail

        public Thumbnail()

        Initializes a new instance of the Thumbnail class.

      • Thumbnail

        public Thumbnail(int width,
                 int height)

        Initializes a new instance of the Thumbnail class.

        Parameters:
        width - The width.
        height - The height.
    • Method Detail

      • getWidth

        public final int getWidth()

        Gets or sets width.

        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - Width could not be less than zero. Value: Thumbnail width.
      • setWidth

        public final void setWidth(int value)

        Gets or sets width.

        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - Width could not be less than zero. Value: Thumbnail width.
      • getHeight

        public final int getHeight()

        Gets or sets height.

        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - Height could not be less than zero. Value: Thumbnail height.
      • setHeight

        public final void setHeight(int value)

        Gets or sets height.

        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - Height could not be less than zero. Value: Thumbnail height.
      • getImageBase64

        public final String getImageBase64()

        Gets or sets image in base64 format.

        Value: Base64 string.
      • setImageBase64

        public final void setImageBase64(String value)

        Gets or sets image in base64 format.

        Value: Base64 string.
      • getFormat

        public final String getFormat()

        Gets or sets image format. Defined value: JPEG.

        Value: Thumbnail format.
      • setFormat

        public final void setFormat(String value)

        Gets or sets image format. Defined value: JPEG.

        Value: Thumbnail format.