CogOCVMaxParagraphIterator AreConfusable Method (Int32, Int32)Cognex VisionPro
If the computed confusion score between the specified search character key and the specified alphabet character key is below the confusion threshold for this paragraph, then return false (i.e. this pair is NOT considered confusable). Otherwise return true (i.e. this pair IS considered confusable).

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

public bool AreConfusable(
	int searchKey,
	int alphabetKey
)

Parameters

searchKey
Type: System Int32
The search character key of interest. This character key must be one of the character keys in the text of this paragraph.
alphabetKey
Type: System Int32
The alphabet character key of interest. This character key must be one of the alphabet character keys for this paragraph.

Return Value

Type: Boolean
A System::Boolean, true if the characters are confusable and false if the characters are not confusable.
Exceptions

ExceptionCondition
ObjectDisposedExceptionIf the associated CogOCVMaxPattern object has already been disposed.
InvalidOperationExceptionIf this paragraph iterator cannot be found.
See Also