com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class Image

  • All Implemented Interfaces:
    com.aspose.ms.System.ICloneable


    public final class Image
    extends BaseParagraph
    Represents image.
    • Constructor Detail

      • Image

        public Image()
    • Method Detail

      • getFile

        public String getFile()

        Gets the image file.

        Returns:
        String value
      • setFile

        public void setFile(String value)

        Sets the image file.

        Parameters:
        value - String value
      • getFixWidth

        public double getFixWidth()

        Gets the image width.

        Returns:
        double value
      • setFixWidth

        public void setFixWidth(double value)

        Sets the image width.

        Parameters:
        value - double value
      • getFixHeight

        public double getFixHeight()

        Gets the image height.

        Returns:
        double value
      • setFixHeight

        public void setFixHeight(double value)

        Sets the image height.

        Parameters:
        value - double value
      • getFileType

        public int getFileType()

        Gets the image file type.

        Returns:
        int value
        See Also:
        ImageFileType
      • setFileType

        public void setFileType(int value)

        Sets the image file type.

        Parameters:
        value - int value
        See Also:
        ImageFileType
      • getImageScale

        public double getImageScale()

        Gets the image scale.

        Returns:
        double value
      • setImageScale

        public void setImageScale(double value)

        Sets the image scale.

        Parameters:
        value - double value
      • getImageStream

        public InputStream getImageStream()

        Gets the image stream.

        Returns:
        InputStream object
      • setImageStream

        public void setImageStream(InputStream value)

        Sets the image stream.

        Parameters:
        value - InputStream value
      • isBlackWhite

        public boolean isBlackWhite()

        Gets a boolean value that indicates whether the image is forced to be black-and-white. If TIFF image of CCITT subformat is used, this property must be set to true.

        Returns:
        boolean value
      • setBlackWhite

        public void setBlackWhite(boolean value)

        Sets a boolean value that indicates whether the image is forced to be black-and-white. If TIFF image of CCITT subformat is used, this property must be set to true.

        Parameters:
        value - boolean value
      • getTitle

        public TextFragment getTitle()

        Gets a string value that indicates the title of the image.

        Returns:
        TextFragment value
      • setTitle

        public void setTitle(TextFragment value)

        Sets a string value that indicates the title of the image.

        Parameters:
        value - TextFragment value
      • deepClone

        public Object deepClone()

        Clone the image.

        Specified by:
        deepClone in interface com.aspose.ms.System.ICloneable
        Overrides:
        deepClone in class BaseParagraph
        Returns:
        The cloned object
      • setBufferedImage

        public void setBufferedImage(BufferedImage value)

        Sets the java awt image.

        Parameters:
        value - BufferedImage object
      • getBufferedImage

        public BufferedImage getBufferedImage()

        Gets the java awt image.

        Returns:
        BufferedImage object