ImageCollection

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

NameTypeAccessDescription
AsICollectionIList<IPPImage>ReadGets the as i collection.
AsIEnumerableIEnumerable<IPPImage>ReadGets the as i enumerable.
CountintReadGets the number of images in the collection.

Methods

SignatureDescription
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.

See Also