ImageCollection

ImageCollection class

Represents collection of PPImage.

addImage

NameDescription
addImage (PPImage)Adds a copy of an image from an another presentation.

Parameters:

NameTypeDescription
imageSourcePPImageSource image.

Returns: PPImage


addImage

NameDescription
addImage (BufferedImage)Add an image to a presentation.

Parameters:

NameTypeDescription
imageBufferedImageImage to add. This function converts WMF/EMF metafiles to raster PNG image before inserting to a presentation.

Returns: PPImage


addImage

NameDescription
addImage (IImage)Add an image to a presentation.

Parameters:

NameTypeDescription
imageIImageImage to add. This function converts WMF/EMF metafiles to raster PNG image before inserting to a presentation.

Returns: PPImage


addImageFromStream

NameDescription
addImageFromStream (ImageCollection, ReadStream, Function)Add an image to a presentation from stream.

Parameters:

NameTypeDescription
imagecollectionImageCollectionlink to self
streamReadStreamStream to add image from. This function can add WMF/EMF metafiles to a presentation without converting them to raster PNG image.
callbackFunctioncallback(error, Returns) - Callback to be called when the method has completed

Returns: PPImage


addImageFromStream

NameDescription
addImageFromStream (ImageCollection, ReadStream, int, Function)Creates and adds an image to a presentation from stream.

Parameters:

NameTypeDescription
imagecollectionImageCollectionlink to self
streamReadStreamStream to add image file from.
loadingStreamBehaviorintThe behavior which will be applied to the stream.
callbackFunctioncallback(error, Returns) - Callback to be called when the method has completed

Returns: PPImage


addImage

NameDescription
addImage (byte[])Adds an image to a presentation from specified buffer.

Parameters:

NameTypeDescription
bufferbyte[]Buffer.

Returns: PPImage


addImage

NameDescription
addImage (SvgImage)Add an image to a presentation from Svg object.

Parameters:

NameTypeDescription
svgImageSvgImageSvg image object ISvgImage

Returns: PPImage

Error

ErrorCondition
ArgumentNullExceptionWhen svgImage parameter is null.

getSyncRoot

NameDescription
getSyncRoot ()Returns a synchronization root. Read-only Object.

Returns: Object


get_Item

NameDescription
get_Item (int)Gets the element at the specified index. Read-only IPPImage.

Returns: PPImage


isSynchronized

NameDescription
isSynchronized ()Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean.

Returns: boolean


iterator

NameDescription
iterator ()Returns an enumerator that iterates through the collection.

Returns:


iteratorJava

NameDescription
iteratorJava ()Returns a java iterator for the entire collection.

Returns:


size

NameDescription
size ()Returns a number of images in the collection. Read-only int.

Returns: int