Set the list of every character within the current font that may, either correctly or incorrectly, be observed within this paragraph. Specifically, set the list to correspond to those characters in the current font that match the categories specified by input bitfield. Categories include DecimalDigitNumber, LowercaseLetter, UppercaseLetter, All, and None. Note that the empty alphabet list created via the None setting will be interpreted as meaning use all available characters. This method assumes that the character keys in the associated font are Unicode code point values.
Namespace: Cognex.VisionPro.OCVMaxAssembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 73.0.0.0
Syntax
Parameters
- NewValue
- Type: Cognex.VisionPro.OCVMax CogOCVMaxCharacterTypeConstants
A bitwise OR of CogOCVMaxCharacterTypeConstants. This may be any combination of DecimalDigitNumber, LowercaseLetter, or UppercaseLetter; or this may be All; or this may be None.
Events
| Event Type | Reason |
|---|---|
| CogOCVMaxPatternChanged | Fires when this property changes. |
| CogOCVMaxPattern ParagraphChanged | Fires when this property changes, provides more detailed information than the Changed event. |
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | If this paragraph iterator does not currently reference a valid paragraph. |
| ObjectDisposedException | If the associated CogOCVMaxPattern object has already been disposed. |
See Also