Gets an array of integers that correspond to the key set for the specified character position within the specified line within the specified paragraph. Each element of this array is the key value of a character that may occur at this position.
Namespace: Cognex.VisionPro.OCVMaxAssembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 80.0.0.0
Syntax
Parameters
- paragraphPosition
- Type: System Int32
A zero-based index that specifies the position of the paragraph of interest.
- linePosition
- Type: System Int32
A zero-based index that specifies the position of the line of interest within the paragraph of interest.
- characterPosition
- Type: System Int32
A zero-based index that specifies the position of the character of interest within the line of interest within the paragraph of interest.
Return Value
Type: Int32An array of integers that correspond to the key set for the specified character position within the specified line within the specified paragraph. The size of this array matches the number of different possible characters that may occur at this position.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | If the paragraphPosition argument is less than zero or greater than or equal to the number of paragraphs described in this CogOCVMaxRunParams object. |
| ObjectDisposedException | If this CogOCVMaxRunParams object has already been disposed. |
See Also