CogOCRMaxChar GetCharCodeFromString Method (String)Cognex VisionPro 9.22 SR1
Returns the UTF 32-bit charcode that represents the letter in the input string.

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

public static int GetCharCodeFromString(
	string input
)

Parameters

input
Type: System String
The string to convert to character codes.

Return Value

Type: Int32
Exceptions

ExceptionCondition
ArgumentException Thrown if the string maps to more than a single character code.
ArgumentNullException Thrown if input is null.
See Also