ControlChars Enumeration
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. Core. SDK
- Assembly
TXTextControl.Core. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. Core. SDK TXTextControl.from the setup.dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Determines values for the control characters used in a TextControl document. The enumeration contains the following values:
Syntax
public enum ControlCharsPublic Enum ControlCharsMembers
| Member | Value | Description |
|---|---|---|
| ParagraphEnd | 10 | Defines the end of a paragraph (Keyboard: ENTER). |
| LineBreak | 11 | Defines a line break without beginning a new paragraph (Keyboard: SHIFT+ENTER). |
| PageBreak | 12 | Defines a page break (Keyboard: CTRL+ENTER). |
| ColumnBreak | 14 | Defines a page column break (Keyboard: CTRL+SHIFT+ENTER). |
| Tab | 9 | Defines a tabulator (Keyboard: TAB). |
| NonBreakingSpace | 160 | Defines a non-breaking space (Keyboard: CTRL+SHIFT+Space). |
| NonVisibleHyphen | 31 | Defines a non-visible hyphen (Keyboard: CTRL+(-)). |
Examples
The following example selects the Tab value from the Control Chars enumeration and uses it as a documented workflow choice.
ControlChars value = ControlChars.Tab;
Console.WriteLine($"Using Control Chars: {value}");Dim value As ControlChars = ControlChars.Tab
Console.WriteLine($"Using Control Chars: {value}")See Also
TextCharCollection.Add Method.