TX Text Control .NET for Windows Forms

FormulaException Class

Class|Introduced in 26.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.
Inherits
  1. Exception
  2. FormulaException

Description

The FormulaException class informs about an invalid syntax or missing parameters of formulas used in tables.

Syntax

public class FormulaException : Exception

Examples

The following example includes the message value from a Formula Exception object in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Message: {formulaException.Message}");
Console.WriteLine("Formula Exception is ready for use.");

Members

Properties

PropertyDescription
CharacterIndexGets the one-based character index of the first invalid character in the formula string.