A TrackedChange object represents a change made to the document after anyone has revised the document. After tracking changes has been turned on with the IsTrackChangesEnabled property, a TextControl marks up new changes made to the document. Every change is represented through a TrackedChange object, all of these objects are contained in the TrackedChangeCollection which can be obtained with the TrackedChanges property.

Syntax

public class TrackedChange
Public Class TrackedChange

Introduced: X16.

Methods

Method Description
Save Saves the changed text with the specified format.
ScrollTo Sets the current input position to the first position of the changed text and scrolls it into the visible part of the document.
Select Selects the changed part of the document.

Properties

Property Description
Active Gets or sets a value specifying whether the TrackedChange is currently active or not.
ChangeKind Gets the kind of change.
ChangeTime Gets the date and time when the change has been made.
DefaultHighlightColor Gets the default highlight color of a tracked change.
HighlightColor Gets or sets the highlight color for the tracked change.
HighlightMode Gets or sets a value indicating whether the tracked change is highlighted.
Length Gets the number of changed characters.
Number Gets the change's number.
Start Gets the index (one-based) of the first changed character.
Text Gets the changed text.
UserName Gets the name of the user who has changed the document.

Further Reading

Learn more about the TXTextControl.TrackedChange Class in the Text Control Blog: