TrackedChanges Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Gets a collection of all changes made in a text frame. The property's value is an object of the type TrackedChangeCollection.
Syntax
public TrackedChangeCollection TrackedChanges { get; }Public ReadOnly Property TrackedChanges As TrackedChangeCollectionExamples
The following example applies bold formatting through the text frame's selection by using TextFrame.TrackedChanges.
Selection formattedSelection = textFrame.Selection;
formattedSelection.Bold = true;
textFrame.Selection = formattedSelection;
foreach (TrackedChange trackedChange in textFrame.TrackedChanges)
{
Console.WriteLine(trackedChange.Active);
}Dim formattedSelection As Selection = textFrame.Selection
formattedSelection.Bold = True
textFrame.Selection = formattedSelection
For Each trackedChange As TrackedChange In textFrame.TrackedChanges
Console.WriteLine(trackedChange.Active)
NextLimitations
Read only.