CogOCRMaxSwapCharSet CanSwap Method Cognex VisionPro
Returns whether characterCode1 and characterCode2 exist in the same swap character group within this set.

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

public bool CanSwap(
	int characterCode1,
	int characterCode2
)

Parameters

characterCode1
Type: System Int32
The first of two character codes that may or may not be swappable.
characterCode2
Type: System Int32
The second of two character codes that may or may not be swappable.

Return Value

Type: Boolean
Exceptions

ExceptionCondition
ObjectDisposedException Thrown if the object is disposed.
See Also