HighlightMode 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 or sets a value indicating whether the tracked change is highlighted.
Syntax
public HighlightMode HighlightMode { get; set; }Public Property HighlightMode As HighlightModeMembers
| Value | Description |
|---|---|
| None | This value is not used for tracked changes. |
| Activated | This value is not used for tracked changes. |
| Always | The tracked change is always highlighted. |
| Never | The tracked change is never highlighted. |
Examples
The following example keeps the current revision highlighted while the document is reviewed.
TrackedChange trackedChange = textControl.TrackedChanges.GetItem();
if (trackedChange == null)
{
return;
}
trackedChange.HighlightMode = HighlightMode.Always;Dim trackedChange As TrackedChange = textControl.TrackedChanges.GetItem()
If trackedChange Is Nothing Then
Return
End If
trackedChange.HighlightMode = HighlightMode.Always