CogPMAlignPattern CreateGraphicsComposite Method Cognex VisionPro 9.21 SR1
Gets a collection of graphics that can be used to display the pattern features transformed for the item specified by the composite selected index.If the SelectedIndex is -1, then the graphics returned are for the initial train image.

Namespace: Cognex.VisionPro.PMAlign
Assembly: Cognex.VisionPro.PMAlign (in Cognex.VisionPro.PMAlign.dll) Version: 85.1.0.0
Syntax

public CogGraphicCollection CreateGraphicsComposite(
	CogColorConstants color,
	bool fine
)

Parameters

color
Type: Cognex.VisionPro CogColorConstants
The color for the graphics.
fine
Type: System Boolean
Specifies whether to return coarse or fine pattern features.

Return Value

Type: CogGraphicCollection
Exceptions

ExceptionCondition
ArgumentExceptionIf the pattern is not trained.
See Also