CogOCRMaxSwapCharSet GetSwapCharacter Method Cognex VisionPro 9.5
Returns the swap character that contains characterCode.

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

public CogOCRMaxSwapChar GetSwapCharacter(
	int characterCode
)

Parameters

characterCode
Type: System Int32
The character code of interest, the method will check to see if any CogOCRMaxSwapChars in this CogOCRMaxSwapCharSet contains this character code.

Return Value

Type: CogOCRMaxSwapChar
Exceptions

ExceptionCondition
ObjectDisposedException Thrown if the object is disposed.
Remarks

Returns a default empty CogOCRMaxSwapChar object if no group in this set contains characterCode.

See Also