ISectionCollection

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 exported members are accessible to any .NET application after installing the Aspose.Slides FOSS for .NET package. Properties: Count.

Properties

NameTypeAccessDescription
CountintReadGets the count.

Methods

SignatureDescription
AddSection(name: string, startedFromSlide: ISlide)The newly added section.
AppendEmptySection(name: string, startedFromIndex: int)The newly added section.
IndexOf(section: ISection)The zero-based index, or -1 if the section is not in the collection.
RemoveSection(section: ISection)The section to remove.
RemoveSectionWithSlides(section: ISection)The section to remove.
ReorderSectionWithSlides(section: ISection, index: int)The target index.
Clear()Removes all sections from the collection

See Also