Contains all text parts in a TX Text Control document.

Syntax

TextPartCollection

Introduced: X18.

Methods

Method Description
activate Sets the input focus to the specified text part.
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 text part with the input focus.
getMainText Gets the main text part of the document.