TX Text Control .NET Server

CharacterIndex Property

Property|Introduced in 26.0
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 one-based character index of the first invalid character in the numberformat string.

Syntax

public int CharacterIndex { get; }

Examples

The following example includes the character index value in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Character Index: {numberFormatException.CharacterIndex}");
Console.WriteLine("Number Format Exception is ready for use.");

Limitations

Read only.