CogBeadInspectTrainResult GetCaliperPointMarker Method Cognex VisionPro 9.7
Returns a CogPointMarker that describes the center of the caliper at the given index.

Namespace: Cognex.VisionPro.EdgeInspect
Assembly: Cognex.VisionPro.EdgeInspect (in Cognex.VisionPro.EdgeInspect.dll) Version: 73.0.0.0
Syntax

public CogPointMarker GetCaliperPointMarker(
	int index
)

Parameters

index
Type: System Int32
The index of the caliper along the trained path.

Return Value

Type: CogPointMarker
A CogPointMarker that represents the center of the indexed caliper.
Exceptions

ExceptionCondition
IndexOutOfRangeException The given index is less than zero, or too large to index the trained calipers of this train result.
Remarks

The returned point marker will be interactive (i.e. selectable), but not draggable. Its rotation will match the rotation of the caliper, and it will have its TipText set to the given caliper index.
See Also