IImageCollection

IImageCollection

Overview

IImageCollection is a interface in Aspose.Slides FOSS for Java. Inherits from: Iterable<IPPImage>.

Represents a collection of images in a presentation.

Methods

SignatureDescription
size()intReturns the number of images in the collection.
get(index: int)IPPImageGets the image at the specified index.
addImage(image: IImage)IPPImageAdds an image to the collection from an {@link IImage}.
addImage(imageData: byte[])IPPImageAdds an image to the collection from raw byte data.
addImage(stream: InputStream)IPPImageAdds an image to the collection from an input stream.
asICollection()List<IPPImage>Returns this collection as an unmodifiable {@link List}.
asIEnumerable()Iterable<IPPImage>Returns this collection as an {@link Iterable}.

See Also