Packages

 

com.aspose.cad.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.

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

        public void setWidth(int value)

        Gets or sets the width.

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

        public int getHeight()

        Gets or sets the height.

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

        public void setHeight(int value)

        Gets or sets the height.

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

        public String getImageBase64()

        Gets or sets the image in base64 format.

        Returns:
        The image in base64 format.
      • setImageBase64

        public void setImageBase64(String value)

        Gets or sets the image in base64 format.

        Parameters:
        value - The image in base64 format.