DocumentTargetMarkers Property
- Namespace
TXTextControl.ServerVisualisation
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. Core. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.Server. dll
Description
Gets or sets a value indicating that markers for hypertext targets are shown or not.
Syntax
public bool DocumentTargetMarkers { get; set; }Public Property DocumentTargetMarkers As BooleanExamples
The following example applies bold formatting through the text view generator's selection by using TextViewGenerator.DocumentTargetMarkers.
Selection formattedSelection = textViewGenerator.Selection;
formattedSelection.Bold = true;
textViewGenerator.Selection = formattedSelection;
textViewGenerator.DocumentTargetMarkers = true;
if (textViewGenerator.DocumentTargetMarkers)
{
Console.WriteLine("Text View Generator: Document Target Markers is enabled.");
}Dim formattedSelection As Selection = textViewGenerator.Selection
formattedSelection.Bold = True
textViewGenerator.Selection = formattedSelection
textViewGenerator.DocumentTargetMarkers = True
If textViewGenerator.DocumentTargetMarkers Then
Console.WriteLine("Text View Generator: Document Target Markers is enabled.")
End If