CharacterIndex Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets the one-based character index of the first invalid character in the formula string.
Syntax
public int CharacterIndex { get; }Public ReadOnly Property CharacterIndex As IntegerExamples
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: {formulaException.CharacterIndex}");
Console.WriteLine("Formula Exception is ready for use.");Console.WriteLine($"Character Index: {formulaException.CharacterIndex}")
Console.WriteLine("Formula Exception is ready for use.")Limitations
Read only.