PermanentControlChars 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 which control characters are shown permanently. The property's value can be a bitwise OR combination of the PermanentControlChar enumeration. The bitwise AND operator can be used to test for a given value.
Syntax
public PermanentControlChar PermanentControlChars { get; set; }Public Property PermanentControlChars As PermanentControlCharExamples
The following example applies bold formatting through the text view generator's selection by using TextViewGenerator.PermanentControlChars.
Selection formattedSelection = textViewGenerator.Selection;
formattedSelection.Bold = true;
textViewGenerator.Selection = formattedSelection;
textViewGenerator.PermanentControlChars = PermanentControlChar.Space;
Console.WriteLine($"Permanent Control Chars used by Text View Generator: {textViewGenerator.PermanentControlChars}");Dim formattedSelection As Selection = textViewGenerator.Selection
formattedSelection.Bold = True
textViewGenerator.Selection = formattedSelection
textViewGenerator.PermanentControlChars = PermanentControlChar.Space
Console.WriteLine($"Permanent Control Chars used by Text View Generator: {textViewGenerator.PermanentControlChars}")