Max number of results to find.
Namespace: Cognex.VisionPro.CaliperAssembly: Cognex.VisionPro.Caliper (in Cognex.VisionPro.Caliper.dll) Version: 65.1.0.0
Syntax
Property Value
Type: Int32Events
| Event Type | Reason |
|---|---|
| CogCaliper Changed | Fires when the value of this property changes. The following state flag may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The supplied value is less than 0. |
Remarks
The maximum number of results to find. You can specify a value of 0 for this property if you only want to compute the projection and filtered images.
Default Value: 1
Examples
Imports Cognex.VisionPro Imports Cognex.VisionPro.Caliper Imports Cognex.VisionPro.ImageProcessing ' Working with a CogCaliperTool object Dim myCaltool As New CogCaliperTool ' Allow the tool to locate and score two results myCaltool.RunParams.MaxResults = 2
using Cognex.VisionPro; using Cognex.VisionPro.Caliper; using Cognex.VisionPro.ImageProcessing; // Working with a CogCaliperTool object CogCaliperTool myCaltool = new CogCaliperTool(); // Allow the tool to locate and score two results myCaltool.RunParams.MaxResults = 2;
See Also