CogOCVMaxRunParams SetKeyset Method (CogOCVMaxCharacterIterator,  Int32 )Cognex VisionPro 9.7
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: 73.0.0.0
Syntax

public void SetKeyset(
	CogOCVMaxCharacterIterator pCI,
	int[] NewValue
)

Parameters

pCI
Type: Cognex.VisionPro.OCVMax CogOCVMaxCharacterIterator
A CogOCVMaxCharacterIterator that specifies the character position of interest.
NewValue
Type:  System Int32 
Each element of this array is the key value of a character that may occur at this position.
Events

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

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

The key values are passed in the NewValue array of integers. Each element of this array is the key value of a character that may occur at the specified position.

See Also