IWSectionCollection module
- class IWSectionCollection.IWSectionCollection
Bases:
IDocumentObjectCollection,ICollectionBase,IEnumerableThis class represents a collection of sections in a document.
- None
- get_Item(index
int) -> Section: Returns the section at the specified index.
- Add(section
ISection) -> int: Adds a section to the collection and returns the index of the added section.
- IndexOf(section
ISection) -> int: Returns the index of the specified section in the collection.
- abstract Add(section: ISection) int
Adds a section to the collection and returns the index of the added section.
- Parameters:
section (ISection) – The section to add to the collection.
- Returns:
The index of the added section.
- Return type:
int
