Contains all created or imported Microsoft Word fields represented through objects of the type ApplicationField.

Syntax

ApplicationFieldCollection

Introduced: X18.

Methods

Method Description
add Inserts a new application field at the current input position.
elementAt Returns the element at a specified index in the collection.
(Inherited from TextFieldCollectionBase)
forEach Executes a callback function for each element.
(Inherited from TextFieldCollectionBase)
getCanAdd Gets a value indicating whether a new text field can be inserted at the current input position.
(Inherited from TextFieldCollectionBase)
getCount Gets the number of elements contained in the collection.
(Inherited from TextFieldCollectionBase)
getItem Gets the field at the current input position or null, if there is no such field at the current input position.
remove Removes a field of the type ApplicationField from a TX Text Control document.

Further Reading

Learn more about the Javascript: ApplicationFieldCollection Object in the Text Control Blog: