Number Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets the change's number. The first tracked change has the number 1. The number is defined through the textflow. A change with a smaller start position has a smaller number.
Syntax
public int Number { get; }Public ReadOnly Property Number As IntegerExamples
The following example finds the revision with a known document-local number and navigates to it.
foreach (TrackedChange change in textControl.TrackedChanges)
{
if (change.Number == 3)
{
change.ScrollTo();
break;
}
}For Each change As TrackedChange In textControl.TrackedChanges
If change.Number = 3 Then
change.ScrollTo()
Exit For
End If
NextLimitations
Read only.