CogOCVMaxParagraphIterator SetAlphabet Method (String)Cognex VisionPro 9.5
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 supplied string argument. If the string argument is an empty string, the resulting empty alphabet list 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: 69.0.0.0
Syntax

public void SetAlphabet(
	string NewValue
)

Parameters

NewValue
Type: System String
A System::String whose individual characters constitute the desired alphabet.
Events

Event TypeReason
CogOCVMaxPatternChangedFires when this property changes.
CogOCVMaxPattern ParagraphChangedFires when this property changes, provides more detailed information than the Changed event.
Exceptions

ExceptionCondition
ObjectDisposedExceptionIf the associated CogOCVMaxPattern object has already been disposed.
InvalidOperationExceptionIf the associated CogOCVMaxPattern object does not recognize this iterator.
See Also