SectionCollection

SectionCollection

Overview

SectionCollection is a class in Aspose.Slides FOSS for .NET. Inherits from: ISectionCollection.

Represents a collection of sections in a presentation.

Properties

NameTypeAccessDescription
CountintRead

Methods

SignatureDescription
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()
GetEnumerator()Returns an enumerator for iterating over the sections

See Also