TXTextControl.TrackedChangeCollection Class

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 collection object can be obtained with the TextControl.TrackedChanges, the HeaderFooter.TrackedChanges or the TextFrame.TrackedChanges property. The TrackedChangeCollection class implements the IEnumerable and the ICollection interfaces. A TrackedChange object represents a change of the document after someone has reworked the document. After tracking changes has been turned on with the IsTrackChangesEnabled property, a TextControl marks up new changes made to the document.

Introduced: 26.0.

Syntax

[C#]
public sealed class TrackedChangeCollection
[Visual Basic]
Public NotInheritable Class TrackedChangeCollection

Properties

Property Description
Count Gets the number of elements contained in the collection.
IsSynchronized Returns true if the collection is designed to be thread safe, otherwise, it returns false.
SyncRoot Gets an object that can be used to synchronize access to the collection.

Methods

Method Description
CopyTo Copies the elements of the collection to an array, starting at a particular index.
GetEnumerator Returns an enumerator that can be used to iterate through the collection.
GetItem Overloaded. Gets a particular item from the collection.
Item Gets the change with the specified number from the collection.
Remove Removes a tracked change from the collection.

See Also