Packages

 

com.aspose.imaging.xmp.types.complex.thumbnail

Class Thumbnail

  • All Implemented Interfaces:
    IXmpType


    public final class Thumbnail
    extends ComplexTypeBase

    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 int getWidth()

        Gets or sets the width.

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

        public void setWidth(int value)

        Gets or sets the width.

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

        public int getHeight()

        Gets or sets the height.

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

        public void setHeight(int value)

        Gets or sets the height.

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

        public String getImageBase64()

        Gets or sets the image in base64 format.

        Value: The image in base64 format.
      • setImageBase64

        public void setImageBase64(String value)

        Gets or sets the image in base64 format.

        Value: The image in base64 format.