com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IPPImage

  • All Known Implementing Classes:
    PPImage


    public interface IPPImage

    Represents an image in a presentation.

    • Method Detail

      • getBinaryData

        byte[] getBinaryData()

        Returns the copy of an image's data. Read-only byte[].

      • getSystemImage

        java.awt.image.BufferedImage getSystemImage()

        Returns the copy of an image of the System.Drawing.Image type. Read-only BufferedImage.

      • replaceImage

        void replaceImage(byte[] newImageData)

        Replaces image data.

        Parameters:
        newImageData - The new image's data.
      • replaceImage

        void replaceImage(IPPImage newImage)

        Replaces image.

        Parameters:
        newImage - The new IPPImage.
      • getContentType

        java.lang.String getContentType()

        Returns a MIME type of an image, encoded in BinaryData(getBinaryData()). Read-only String.

      • getWidth

        int getWidth()

        Returns a width of an image. Read-only int.

      • getHeight

        int getHeight()

        Returns a height of an image. Read-only int.

      • getX

        int getX()

        Returns a X-offset of an image. Read-only int.

      • getY

        int getY()

        Returns a Y-offset of an image. Read-only int.