CogCoreConverters MakeGraphicCollection Method Cognex VisionPro 9.23
Create a Deep Copy of the provided CogGraphicCollection VisionPro object in the form of a GraphicCollection Vision object. Currently this handles copying only CogCompositeShape and CogGraphicLabel.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.VisionInterop (in Cognex.VisionPro.VisionInterop.dll) Version: 91.0.0.0
Syntax

public static GraphicCollection MakeGraphicCollection(
	CogGraphicCollection cogGraphicCollection
)

Parameters

cogGraphicCollection
Type: Cognex.VisionPro CogGraphicCollection
The VisionPro CogGraphicCollection to be copied from.

Return Value

Type: GraphicCollection
A Vision GraphicCollection that has the equivalent items.
Remarks

Providing an argument that is null will result in a return that is null as well. In other words, a null converts to a null.

See Also