CogFindLineResult CreateResultGraphics Method Cognex VisionPro 9.10
Creates a composite result graphic containing child graphics specified by GraphicOptions which is a bitwise combination of CogFindLineResultGraphicConstants.

Namespace: Cognex.VisionPro.Caliper
Assembly: Cognex.VisionPro.Caliper (in Cognex.VisionPro.Caliper.dll) Version: 79.0.0.0
Syntax

public CogCompositeShape CreateResultGraphics(
	CogFindLineResultGraphicConstants graphicOptions
)

Return Value

Type: CogCompositeShape

The returned graphic.

Remarks

Creates a composite result graphic containing child graphics specified by GraphicOptions which is a bitwise combination of CogFindLineResultGraphicConstants.

The graphics are drawn in green in if the edge point was found and used for the fit; otherwise red is used. If no edge was found, then only the caliper region is drawn. In all cases, the graphics' Interactive properties are set to true.

Note: The ID of the returned shape is set to the ID of this object.

See Also