Contains all sections of a document. A document has at least one section.
SectionCollection Introduced: X18.
| Method | Description |
|---|---|
| add | Adds a new section at the current text input position. |
| add |
Adds a new section at the specified text input position. |
| element |
Returns the element at a specified index in the collection.
(Inherited from Collection) |
| for |
Executes a callback function for each element.
(Inherited from Collection) |
| get |
Gets the number of elements contained in the collection.
(Inherited from Collection) |
| get |
Gets the section at the current input position or or the section in the collection with the given number. |