com.aspose.slides
Interface IImageCollection

All Superinterfaces:
com.aspose.ms.System.Collections.IEnumerable<IPPImage>, IGenericCollection<IPPImage>, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IPPImage>, java.lang.Iterable<IPPImage>
All Known Implementing Classes:
ImageCollection

public interface IImageCollection
extends IGenericCollection<IPPImage>

Represents collection of PPImage.


Method Summary
 IPPImage addImage(java.awt.image.BufferedImage image)
           Add an image to a presentation.
 IPPImage addImage(byte[] buffer)
           
 IPPImage addImage(java.io.InputStream stream)
           Add an image to a presentation from stream.
 IPPImage addImage(IPPImage imageSource)
           Adds a copy of an image from an another presentation.
 IPPImage get_Item(int index)
           
 
Methods inherited from interface com.aspose.slides.IGenericCollection
copyTo, getSyncRoot, isSynchronized, size
 
Methods inherited from interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable
iterator
 

Method Detail

get_Item

IPPImage get_Item(int index)

addImage

IPPImage addImage(java.awt.image.BufferedImage image)

Add an image to a presentation.


This method converts WMF/EMF metafiles to raster PNG image before inserting to a presentation.

Parameters:
image - Image to add.
Returns:
Added image.

addImage

IPPImage addImage(java.io.InputStream stream)

Add an image to a presentation from stream.


This method can add WMF/EMF metafiles to a presentation without converting them to raster PNG image.

Parameters:
stream - Stream to add image from.
Returns:
Added image.

addImage

IPPImage addImage(byte[] buffer)

addImage

IPPImage addImage(IPPImage imageSource)

Adds a copy of an image from an another presentation.

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


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.