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

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

public static CogGraphicCollection MakeCogGraphicCollection(
	GraphicCollection graphicCollection
)

Parameters

graphicCollection
Type: Cognex.Vision GraphicCollection
The Vision GraphicCollection to be copied from.

Return Value

Type: CogGraphicCollection
A VisionPro CogGraphicCollection 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