Contains all sections of a document. A document has at least one section.

Syntax

SectionCollection

Introduced: X18.

Methods

Method Description
add Adds a new section at the current text input position.
addAtTextPosition Adds a new section at the specified text input position.
elementAt Returns the element at a specified index in the collection.
(Inherited from Collection)
forEach Executes a callback function for each element.
(Inherited from Collection)
getCount Gets the number of elements contained in the collection.
(Inherited from Collection)
getItem Gets the section at the current input position or or the section in the collection with the given number.