Sort the results and create a new results object.
Namespace: Cognex.VisionPro.CaliperAssembly: Cognex.VisionPro.Caliper (in Cognex.VisionPro.Caliper.dll) Version: 65.1.0.0
Syntax
Parameters
- sortMode
- Type: Cognex.VisionPro.Caliper CogCaliperSortModeConstants
The sort order.
- reverseSortOrder
- Type: System Boolean
If true, the sort is performed in reverse order.
Return Value
Type: CogCaliperResultsAn CogCaliperResults object containing the newly sorted results.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | sortMode is not a member of CogCaliperSortModeConstants. |
Remarks
Sorts (or re-sorts) the results and create a new CogCaliperResults object.
See Also