Returns the key for the pen at the given Index. Index must be in the range from 0 to PenCount-1 (inclusive).
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
Syntax
Parameters
- index
- Type: System Int32
The index.
Return Value
Type: Int32Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | index is < 0 or > (PenCount−1). |
Remarks
Returns the key for the pen at the given index. Index must be in the range from 0 to PenCount−1.
See Also