TX Text Control .NET for Windows Forms

Char Property

Property|Introduced in 10.1
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets the value of the character.

Syntax

public char Char { get; }

Examples

The following example examines the first text char in a short document by using TextChar.Char.

textControl.Text = "Quarterly results\nRevenue increased by 12%.";
TextChar textChar = textControl.TextChars[1];

Console.WriteLine($"Char: {textChar.Char}");
Console.WriteLine("Text Char is ready for use.");

Limitations

Read only.