TX Text Control .NET for WPF

InvalidCodePointException Class

Class|Introduced in 24.0
Namespace
TXTextControl.DocumentServer.Json
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXDocumentServer.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXDocumentServer.dll from the setup.
Inherits
  1. Exception
  2. ParserException
  3. InvalidCodePointException

Description

Is thrown when calling the method MailMerge.MergeJsonData with a JSON string containing an invalid hexadecimal unicode code point.

Syntax

public class InvalidCodePointException : ParserException

Examples

The following example creates an Invalid Code Point Exception instance and configures its help link setting for a document workflow.

TXTextControl.DocumentServer.Json.InvalidCodePointException invalidCodePointException = new(10, "Quarterly report");
invalidCodePointException.HelpLink = "Quarterly report";

Members

Constructors

ConstructorDescription
InvalidCodePointExceptionNot described in the reference. public InvalidCodePointException(int pos, string codePoint);