Contains all tracked changes in the main text or another part of a document. It is a collection of objects of the type TrackedChange. A TrackedChange object represents a change of the document after someone has reworked the document. After tracking changes has been turned on with the setIsTrackChangesEnabled method, the made changes to the document will be tracked.

Syntax

TrackedChangeCollection

Introduced: X18.

Methods

Method Description
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 change at the current text input position or the next or the previous change in the textflow.
remove Removes a tracked change from the collection.

Further Reading

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