SectionCollection module
- class SectionCollection.SectionCollection
Bases:
DocumentObjectCollection,IWSectionCollectionA collection of sections in a document.
- Add(section: ISection) int
Adds a section to the end of the document.
- Parameters:
section – The section to be added.
- Returns:
The index of the added section.
- IndexOf(section: ISection) int
Returns the zero-based index of the specified section.
- Parameters:
section – The section to find the index of.
- Returns:
The index of the specified section.
- get_Item(index: int) Section
Retrieves the section at the specified index.
- Parameters:
index – The index of the section.
- Returns:
The section at the specified index.
