SectionCollection class

SectionCollection class

Represents a collection of sections.

The SectionCollection type exposes the following members:

Gets the element at the specified index. Read-only ISection.

Indexer

NameDescription
[index]

Methods

MethodDescription
add_section(self, name, started_from_slide)Add slides section started form specific slide.
append_empty_section(self, name)Add empty section to the end of the collection.
add_empty_section(self, name, index)Add empty section to specified position of the collection.
index_of(self, section)Returns an index of the specified section in the collection.
remove_section_with_slides(self, section)Remove section and slides contained in the section.
remove_section(self, section)Remove section. Slides contained in the section will be merged into previous section.
reorder_section_with_slides(self, section, index)Moves section and its slides from the collection to the specified position.
clear(self)Removes all sections from the collection.

See Also