TextChars Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets a collection of all characters contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property's value is an object of the type TextCharCollection.
Syntax
public TextCharCollection TextChars { get; }Public ReadOnly Property TextChars As TextCharCollectionExamples
The following example iterates through the text chars collection and processes each text char.
foreach (TextChar textChar in textControl.TextChars)
{
Console.WriteLine(textChar.Number);
}For Each textChar As TextChar In textControl.TextChars
Console.WriteLine(textChar.Number)
NextLimitations
Read only.