SlideCollection
Vue de l’ensemble
‘SlideCollection’ est une classe dans Aspose.Sliides FOSS pour Python.Déduit de: ‘BaseColection’, ‘ISlidCollection’.
Il représente une collection de slides.
Cette classe fournit 8 méthodes pour travailler avec des objets SlideCollection dans les programmes Python. Les méthodologies disponibles comprennent: add_clone, ad_empty_slide , index_of ; insert_klone‘, 'inser_ampty-slite; remove : remove_atetto_array. Tous les membres publics sont accessibles à n'importe quelle application Python après l'installation de l’Aspose.Slides FOSS pour le package Pyathon. Propriétés : as_i_collection` .
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
as_i_collection | list | Read | Gets the as i collection. |
as_i_enumerable | Any | Read | Gets the as i enumerable. |
length | int | Read | Returns the number of elements. |
méthodes
| 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 |
Voir aussi
- Aspose.Slides - référence API d’entreprise