com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IImageCollection

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      IPPImage addImage(android.graphics.Bitmap image)
      Add an image to a presentation.
      IPPImage addImage(byte[] buffer)
      Adds an image to a presentation from specified buffer.
      IPPImage addImage(java.io.InputStream stream)
      Add an image to a presentation from stream.
      IPPImage addImage(java.io.InputStream stream, int loadingStreamBehavior)
      Creates and adds an image to a presentation from stream.
      IPPImage addImage(IPPImage imageSource)
      Adds a copy of an image from an another presentation.
      IPPImage addImage(ISvgImage svgImage)
      Add an image to a presentation from SVG object.
      IPPImage get_Item(int index)
      Returns image by its index.
      • Methods inherited from interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable

        iterator
      • Methods inherited from interface com.aspose.ms.System.Collections.ICollection

        copyTo, getSyncRoot, isSynchronized, size
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Method Detail

      • get_Item

        IPPImage get_Item(int index)

        Returns image by its index.

        Parameters:
        index - Index.
        Returns:
        Image.
      • addImage

        IPPImage addImage(android.graphics.Bitmap image)

        Add an image to a presentation.

        Parameters:
        image - Image to add.


        This method converts WMF/EMF metafiles to raster PNG image before inserting to a presentation.
        Returns:
        Added image.
      • addImage

        IPPImage addImage(java.io.InputStream stream)

        Add an image to a presentation from stream.

        Parameters:
        stream - Stream to add image from.


        This method can add WMF/EMF metafiles to a presentation without converting them to raster PNG image.
        Returns:
        Added image.
      • addImage

        IPPImage addImage(java.io.InputStream stream,
                          int loadingStreamBehavior)

        Creates and adds an image to a presentation from stream.

        Parameters:
        stream - Stream to add image file from.
        loadingStreamBehavior - The behavior which will be applied to the stream.
        Returns:
        Added IPPImage.
      • addImage

        IPPImage addImage(byte[] buffer)

        Adds an image to a presentation from specified buffer.

        Parameters:
        buffer - Buffer.
        Returns:
        Added image.
      • addImage

        IPPImage addImage(IPPImage imageSource)

        Adds a copy of an image from an another presentation.

        Parameters:
        imageSource - Source image.
        Returns:
        Added image.
      • addImage

        IPPImage addImage(ISvgImage svgImage)

        Add an image to a presentation from SVG object.

        Parameters:
        svgImage - SVG image object ISvgImage
        Returns:
        Added image.
        Throws:
        com.aspose.ms.System.ArgumentNullException - Thrown when svgImage parameter is null.