ImageCollection
ImageCollection class
Represents collection of PPImage.
addImage
| Name | Description |
|---|---|
| addImage (PPImage) | Adds a copy of an image from an another presentation. |
Parameters:
| Name | Type | Description |
|---|---|---|
| imageSource | PPImage | Source image. |
Returns: PPImage
addImage
| Name | Description |
|---|---|
| addImage (BufferedImage) | Add an image to a presentation. |
Parameters:
| Name | Type | Description |
|---|---|---|
| image | BufferedImage | Image to add. This function converts WMF/EMF metafiles to raster PNG image before inserting to a presentation. |
Returns: PPImage
addImage
| Name | Description |
|---|---|
| addImage (IImage) | Add an image to a presentation. |
Parameters:
| Name | Type | Description |
|---|---|---|
| image | IImage | Image to add. This function converts WMF/EMF metafiles to raster PNG image before inserting to a presentation. |
Returns: PPImage
addImageFromStream
| Name | Description |
|---|---|
| addImageFromStream (ImageCollection, ReadStream, Function) | Add an image to a presentation from stream. |
Parameters:
| Name | Type | Description |
|---|---|---|
| imagecollection | ImageCollection | link to self |
| stream | ReadStream | Stream to add image from. This function can add WMF/EMF metafiles to a presentation without converting them to raster PNG image. |
| callback | Function | callback(error, Returns) - Callback to be called when the method has completed |
Returns: PPImage
addImageFromStream
| Name | Description |
|---|---|
| addImageFromStream (ImageCollection, ReadStream, int, Function) | Creates and adds an image to a presentation from stream. |
Parameters:
| Name | Type | Description |
|---|---|---|
| imagecollection | ImageCollection | link to self |
| stream | ReadStream | Stream to add image file from. |
| loadingStreamBehavior | int | The behavior which will be applied to the stream. |
| callback | Function | callback(error, Returns) - Callback to be called when the method has completed |
Returns: PPImage
addImage
| Name | Description |
|---|---|
| addImage (byte[]) | Adds an image to a presentation from specified buffer. |
Parameters:
| Name | Type | Description |
|---|---|---|
| buffer | byte[] | Buffer. |
Returns: PPImage
addImage
| Name | Description |
|---|---|
| addImage (SvgImage) | Add an image to a presentation from Svg object. |
Parameters:
| Name | Type | Description |
|---|---|---|
| svgImage | SvgImage | Svg image object ISvgImage |
Returns: PPImage
Error
| Error | Condition |
|---|---|
| ArgumentNullException | When svgImage parameter is null. |
getSyncRoot
| Name | Description |
|---|---|
| getSyncRoot () | Returns a synchronization root. Read-only Object. |
Returns: Object
get_Item
| Name | Description |
|---|---|
| get_Item (int) | Gets the element at the specified index. Read-only IPPImage. |
Returns: PPImage
isSynchronized
| Name | Description |
|---|---|
| isSynchronized () | Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean. |
Returns: boolean
iterator
| Name | Description |
|---|---|
| iterator () | Returns an enumerator that iterates through the collection. |
Returns:
iteratorJava
| Name | Description |
|---|---|
| iteratorJava () | Returns a java iterator for the entire collection. |
Returns:
size
| Name | Description |
|---|---|
| size () | Returns a number of images in the collection. Read-only int. |
Returns: int