CogBeadInspectTrainResult GetCaliperRectangleAffine Method Cognex VisionPro 9.21
Returns a CogRectangleAffine that describes the caliper at the given index.

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

public CogRectangleAffine GetCaliperRectangleAffine(
	int index
)

Parameters

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

Return Value

Type: CogRectangleAffine
A CogRectangleAffine that represents 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 affine rectangle will be interactive (i.e. selectable), but not draggable. It will have its TipText set to the given caliper index.
See Also