ISectionCollection
Overview
ISectionCollection is a interface in Aspose.Slides FOSS for .NET.
Inherits from: IEnumerable<ISection>.
Represents a collection of sections in a presentation.
This interface provides 7 methods for working with ISectionCollection objects in .NET programs.
Available methods include: AddSection, AppendEmptySection, Clear, IndexOf, RemoveSection, RemoveSectionWithSlides, ReorderSectionWithSlides.
All public members are accessible to any .NET application after installing the Aspose.Slides FOSS for .NET package.
Properties: Count.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Count | int | Read | Gets the number of sections in the collection. |
Methods
| Signature | Description |
|---|---|
AddSection(name: string, startedFromSlide: ISlide) | Adds a new section started from the specified slide. |
AppendEmptySection(name: string, startedFromIndex: int) | Adds an empty section with the specified name to the end of the collection. |
IndexOf(section: ISection) | Returns the index of the specified section, or -1 if not found. |
RemoveSection(section: ISection) | Removes the specified section from the collection. |
RemoveSectionWithSlides(section: ISection) | Removes the specified section and all its slides from the collection. |
ReorderSectionWithSlides(section: ISection, index: int) | Moves the section and its slides to the specified position. |
Clear() | Removes all sections from the collection. |