SectionCollection
Vue de l’ensemble
‘SectionCollection’ est une classe dans Aspose.Slides FOSS pour .NET. hérite de: ‘ISectioncollection’.
Il représente une collection de sections dans une présentation.
Cette classe fournit 8 méthodes pour travailler avec les objets SectionCollection dans des programmes .NET. Les méthodologies disponibles comprennent: ‘AddSection’, ‘AppendEmptyS section’, Clear', ‘GetEnumerator’, 'IndexOf', ’RemoveSect', ‚RimoveSectionWithSlides, ‘ReorderSectionVith Slide’. Tous les membres publics sont accessibles à n’importe quelle application .Net après l’installation de l’Aspose.Snits FOSS pour le package .net. Propriétés: Count.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
Count | int | Read | Gets the count. |
méthodes
| Signature | Description |
|---|---|
AddSection(name: string, startedFromSlide: ISlide) | Adds a new section with the given name starting at the specified slide |
AppendEmptySection(name: string, startedFromIndex: int) | Appends an empty section with the given name starting at the slide index |
IndexOf(section: ISection) | Returns the zero‑based index of the specified section in the collection |
RemoveSection(section: ISection) | Removes the given section without deleting its slides |
RemoveSectionWithSlides(section: ISection) | Removes the section and also deletes all slides belonging to it |
ReorderSectionWithSlides(section: ISection, index: int) | Moves the specified section and its slides to a new index |
Clear() | Calls Clear on this SectionCollection instance. |
GetEnumerator() | Returns an enumerator for iterating over the sections |
Voir aussi
- Aspose.Slides - référence API d’entreprise