SlideCollection
Overview
SlideCollection is a class in Aspose.Slides FOSS for Python.
Inherits from: BaseCollection, ISlideCollection.
Represents a collection of a slides.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
as_i_collection | list | Read | |
as_i_enumerable | Any | Read | Exposes the slides through an enumerable interface |
Methods
| Signature | Description |
|---|---|
add_clone() → ISlide | Clone a slide and add it to the end of the collection. |
insert_clone() → ISlide | Clone a slide and insert it at a specific position. |
to_array() → list[ISlide] | Returns a list containing all slides in the collection |
add_empty_slide(layout) → ISlide | Creates an empty slide using the given layout and adds it to the end |
insert_empty_slide(index, layout) → ISlide | Creates an empty slide with the layout and inserts it at the index |
remove(value) | Deletes the first occurrence of the specified slide from the collection |
remove_at(index) | |
index_of(slide) → int |