CogOCRMaxSwapCharSet Add Method Cognex VisionPro 9.8 SR1
Adds a group of swap characters to this set.

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

public void Add(
	CogOCRMaxSwapChar swapCharacter
)

Parameters

swapCharacter
Type: Cognex.VisionPro.OCRMax CogOCRMaxSwapChar
The new CogOCRMaxSwapChar to add to the CogOCRMaxSwapChar set.
Exceptions

ExceptionCondition
CogOCRMaxSwapCharParamsException Thrown if if swapCharacter.Degen() is true
ObjectDisposedException Thrown if the object is disposed.
ArgumentNullException Thrown if swapCharacter is null.
Remarks

By transitivity, if any character in the group already exists in an existing group in the set, the new group will be merged with that existing group.

See Also