If the computed confusion score between the specified search character and the specified alphabet character 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). This method assumes that the character keys in the associated font correspond to Unicode code point values.
Namespace: Cognex.VisionPro.OCVMaxAssembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 75.1.0.0
Syntax
Parameters
- searchCharacter
- Type: System Char
The search character of interest. This character must be one of the characters in the text of this paragraph. This assumes that the character keys in the associated font correspond to Unicode code point values.
- alphabetCharacter
- Type: System Char
The alphabet character of interest. This character must be one of the alphabet characters for this paragraph. This assumes that the character keys in the associated font correspond to Unicode code point values.
Return Value
Type: BooleanA System::Boolean, true if the characters are confusable and false if the characters are not confusable.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | If this paragraph iterator cannot be found. |
| ObjectDisposedException | If the associated CogOCVMaxPattern object has already been disposed. |
See Also