ISlideCollection
Overview
ISlideCollection is a class in Aspose.Slides FOSS for Python.
Inherits from: ABC.
Represents a collection of a slides.
This class declares 15 methods for ISlideCollection objects in Python programs.
Available methods include: __getitem__, add_clone, add_empty_slide, index_of, insert_clone, insert_empty_slide, remove, remove_at, to_array.
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
| Name | Type | Access | Description |
|---|---|---|---|
as_i_collection | list | Read | Gets the as i collection. |
as_i_enumerable | Any | Read | Gets the as i enumerable. |
Methods
| Signature | Description |
|---|---|
add_clone(source_slide) → ISlide | Adds a clone of source_slide to dest_master, optionally allowing missing layout |
add_clone(source_slide, section) → ISlide | Calls add_clone(source_slide, section) on this ISlideCollection instance. |
add_clone(source_slide, dest_layout) → ISlide | Calls add_clone(source_slide, dest_layout) on this ISlideCollection instance. |
add_clone(source_slide, dest_master, allow_clone_missing_layout) → ISlide | Calls add_clone(source_slide, dest_master, allow_clone_missing_layout) on this ISlideCollection instance. |
insert_clone(index, source_slide) → ISlide | Inserts a clone of source_slide at index into dest_master, optionally allowing missing layout |
insert_clone(index, source_slide, dest_layout) → ISlide | Calls insert_clone(index, source_slide, dest_layout) on this ISlideCollection instance. |
insert_clone(index, source_slide, dest_master, allow_clone_missing_layout) → ISlide | Calls insert_clone(index, source_slide, dest_master, allow_clone_missing_layout) on this ISlideCollection instance. |
to_array() → list[ISlide] | Returns all slides as a list |
to_array(start_index, count) → list[ISlide] | Calls to_array(start_index, count) on this ISlideCollection instance. |
add_empty_slide(layout) → ISlide | Creates and adds a new empty slide with the specified layout |
insert_empty_slide(index, layout) → ISlide | Inserts a new empty slide at index using the given layout |
remove(value) | Removes the specified slide from the collection |
remove_at(index) | Removes the slide at the given index |
index_of(slide) → int | Returns the zero‑based index of the specified slide |
__getitem__(index: int) → ISlide | Calls getitem(index) on this ISlideCollection instance. |