CogOCVMaxParagraphIterator SetAlphabet Method (CogOCVMaxCharacterTypeConstants)Cognex VisionPro 9.7
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.OCVMax
Assembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 73.0.0.0
Syntax

public void SetAlphabet(
	CogOCVMaxCharacterTypeConstants NewValue
)

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 TypeReason
CogOCVMaxPatternChangedFires when this property changes.
CogOCVMaxPattern ParagraphChangedFires when this property changes, provides more detailed information than the Changed event.
Exceptions

ExceptionCondition
InvalidOperationExceptionIf this paragraph iterator does not currently reference a valid paragraph.
ObjectDisposedExceptionIf the associated CogOCVMaxPattern object has already been disposed.
See Also