CogOCRMaxChar GetStringFromCharCode Method Cognex VisionPro 9.5
Returns the String representation of the UTF 32-bit charCode.

Namespace: Cognex.VisionPro.OCRMax
Assembly: Cognex.VisionPro.OCRMax (in Cognex.VisionPro.OCRMax.dll) Version: 69.0.0.0
Syntax

public static string GetStringFromCharCode(
	int charCode,
	string unknownCharacterMarker
)

Parameters

charCode
Type: System Int32
The UTF-32 character code to map to a String.
unknownCharacterMarker
Type: System String
A String to insert in place of any 'unknown' character code values (0xF800) that occur in charCodes.

Return Value

Type: String
Exceptions

ExceptionCondition
ArgumentNullException Thrown if unknownCharacterMarker is null.
ArgumentException Thrown if unknownCharacterMarker is the empty string.
See Also