ImageCollection

Overview

ImageCollection is a class in Aspose.Slides FOSS for Python. Inherits from: IImageCollection.

Represents collection of PPImage.

This class declares 6 methods for ImageCollection objects in Python programs. Available methods include: __getitem__, __iter__, __len__, add_image. Public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package. Properties: as_i_collection, as_i_enumerable.

Properties

NameTypeAccessDescription
as_i_collectionlistReadGets the as i collection.
as_i_enumerableAnyReadGets the as i enumerable.

Methods

SignatureDescription
add_image() → IPPImageAdds a new image to the collection and returns an IPPImage object
__getitem__(index: int) → ImageCalls getitem(index) on this ImageCollection instance.
__len__() → intCalls len on this ImageCollection instance.
__iter__()Calls iter on this ImageCollection instance.
add_image(image) → IPPImageCalls add_image(image) on this ImageCollection instance.
add_image(stream, loading_stream_behavior) → IPPImageCalls add_image(stream, loading_stream_behavior) on this ImageCollection instance.

See Also

 English