CogOCVMaxCharacterIterator SetKeyset Method (String)Cognex VisionPro
Set the (train time) key set for the character position specified by this character iterator. The key values are passed in as a System::String in which each character corresponds to a member of the key set for this position. Note that this assumes that the character keys in the font correspond to 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 SetKeyset(
	string NewValue
)

Parameters

NewValue
Type: System String
A System::String in which each character corresponds to a member of the (train time) key set for this position. Note that this assumes that the character keys in the font correspond to Unicode code point values.
Events

Event TypeReason
ICogChangedEvent ChangedFires when this property changes.
CogOCVMaxPattern CharacterChangedFires when this property changes, provides more detailed information than the Changed event.
Exceptions

ExceptionCondition
ObjectDisposedExceptionIf the associated CogOCVMaxPattern object has already been disposed.
InvalidOperationExceptionIf this character iterator cannot be found.
See Also