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.OCVMaxAssembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 65.1.0.0
Syntax
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: BooleanA System::Boolean, true if the characters are confusable and false if the characters are not confusable.
Exceptions
| Exception | Condition |
|---|---|
| ObjectDisposedException | If the associated CogOCVMaxPattern object has already been disposed. |
| InvalidOperationException | If this paragraph iterator cannot be found. |
See Also