Gets or sets the index of the result within the FindResults
property to use when calling the
SetCoarseContour(CogGeneralContour)
method.
Namespace: Cognex.VisionPro.EdgeInspectAssembly: Cognex.VisionPro.EdgeInspect (in Cognex.VisionPro.EdgeInspect.dll) Version: 87.1.0.0
Syntax
Property Value
Type: Int32Default value is -1. This is set to 0 every time that the Find method is called.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The supplied value is less than 0 or greater or equal to 5. |
Remarks
This property does not check that this value is within the valid range of indices for FindResults, that check is performed by the SetCoarseContour(CogGeneralContour) method.
This property is independent of the FindResultIndexUsedInTrain property. While they refer to the same collection, the two indices are utilized in different methods.
See Also