CogCoreConverters MakeCogCompositeShape Method Cognex VisionPro 9.22
Create a Deep Copy of the provided CompositeShape Vision object in the form of a CogCompositeShape VisionPro object. Currently this handles copying only the following shapes: Line, LineSegment, Ellipse, GeneralContour and GraphicLabel.

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

public static CogCompositeShape MakeCogCompositeShape(
	CompositeShape compositeShape
)

Parameters

compositeShape
Type: Cognex.Vision CompositeShape
The Vision CompositeShape to be copied from.

Return Value

Type: CogCompositeShape
A VisionPro CogCompositeShape that has the equivalent properties and components.
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