CogOCVMaxRunParams SetKeyset Method (CogOCVMaxCharacterIterator, String)Cognex VisionPro 9.5
Sets the key set for the specified character position within the specified line within the specified paragraph.

Namespace: Cognex.VisionPro.OCVMax
Assembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 69.0.0.0
Syntax

public void SetKeyset(
	CogOCVMaxCharacterIterator pCI,
	string NewValue
)

Parameters

pCI
Type: Cognex.VisionPro.OCVMax CogOCVMaxCharacterIterator
A character iterator that specifies the character position of interest.
NewValue
Type: System String
A string in which each character corresponds to a member of the key set for this position.
Events

Event TypeReason
ICogChangedEvent ChangedFires when this method changes the subject key set.
Exceptions

ExceptionCondition
ArgumentNullExceptionIf the supplied character iterator argument is NULL.
ObjectDisposedExceptionIf this CogOCVMaxRunParams object has already been disposed.
Remarks

The key values are passed in the NewValue string. Each character in this string is the key value of a character that may occur at the specified position. Note that this method assumes that the character keys in this font correspond to Unicode code point values.

See Also