The SubTextPartCollection object represents a collection of subtextparts.

Syntax

SubTextPartCollection

Introduced: X18.

Enumerations

Enumeration Description
AddResult Specifies the result when a subtextpart has been added to the document.

Methods

Method Description
add Adds a new SubTextPart to the collection.
clear Removes all subtextparts from a Text Control document.
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 subtextpart at the current text input position.
remove Removes a subtextpart from the collection including all its nested subtextparts.