TX Text Control .NET Server

Char Property

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

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.