CogPMRedLinePattern CreateTrainedGraphics Method Cognex VisionPro
Gets a collection of graphics that can be used to display the trained pattern features.

Namespace: Cognex.VisionPro.PMRedLine
Assembly: Cognex.VisionPro.PMRedLine (in Cognex.VisionPro.PMRedLine.dll) Version: 65.1.0.0
Syntax

public CogGraphicCollection CreateTrainedGraphics(
	CogColorConstants color
)

Return Value

Type: CogGraphicCollection
A CogGraphicCollection with the requested graphics.
Exceptions

ExceptionCondition
CogOperatorNotTrainedException This pattern operator is not trained.
Remarks

Gets a CogGraphicCollection object that contains a list of the feature boundary points trained for this CogPMRedLinePattern.
See Also