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 method 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 method converts WMF/EMF metafiles to raster PNG image before inserting to a presentation.

Returns: PPImage


addImage

NameDescription
addImage (InputStream)Add an image to a presentation from stream.

Parameters:

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

Returns: PPImage


addImage

NameDescription
addImage (InputStream, int)Creates and adds an image to a presentation from stream.

Parameters:

NameTypeDescription
streamInputStreamStream to add image file from.
loadingStreamBehaviorintThe behavior which will be applied to the stream.

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

Exception

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