Gets or sets the number of results to search for.
Namespace: Cognex.VisionPro.PMRedLineAssembly: Cognex.VisionPro.PMRedLine (in Cognex.VisionPro.PMRedLine.dll) Version: 79.0.0.0
Syntax
Property Value
Type: Int32The number of results to search for. Default value is 1.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. The following state flag may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The supplied value is less than one. |
Remarks
If the ReturnAllResults property of CogPMRedLineRunParams is "false", the number of results returned by PMRedLine will always be less than or equal to the value you specify. If ReturnAllResults is "true", you may get additional results.
See Also