ImageCollection
Overview
ImageCollection is a class in Aspose.Slides FOSS for .NET.
Inherits from: IImageCollection, IEnumerable<IPPImage>.
Concrete collection managing presentation images within an OPC package.
This class provides 4 methods for working with ImageCollection objects in .NET programs.
Available methods include: AddImage, GetEnumerator.
All public members are accessible to any .NET application after installing the Aspose.Slides FOSS for .NET package.
Properties: AsICollection, AsIEnumerable, Count.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
AsICollection | IList<IPPImage> | Read | Gets the as i collection. |
AsIEnumerable | IEnumerable<IPPImage> | Read | Gets the as i enumerable. |
Count | int | Read | Gets the number of images in the collection. |
Methods
| Signature | Description |
|---|---|
AddImage(image: IImage) | Adds an image read from the provided Stream to the collection |
AddImage(stream: Stream) | Calls AddImage(stream) on this ImageCollection instance. |
AddImage(buffer: byte[]) | Calls AddImage(buffer) on this ImageCollection instance. |
GetEnumerator() | Returns an enumerator that iterates through the images. |