CogOCVMaxParagraphIterator SetAlphabet Method (String)Cognex VisionPro
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: 65.1.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
CogOCVMaxPattern ParagraphChangedFires when this property changes, provides more detailed information than the Changed event.
CogOCVMaxPatternChangedFires when this property changes.
Exceptions

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