CogCoreConverters MakeCompositeShape Method Cognex VisionPro 9.24
Create a Deep Copy of the provided CogCompositeShape VisionPro object in the form of a CompositeShape Vision object. Currently this handles copying only the following shapes: CogLine, CogLineSegment, CogEllipse, CogGeneralContour and CogGraphicLabel.

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

public static CompositeShape MakeCompositeShape(
	CogCompositeShape cogCompositeShape
)

Parameters

cogCompositeShape
Type: Cognex.VisionPro CogCompositeShape
The VisionPro CogCompositeShape to be copied from.

Return Value

Type: CompositeShape
A Vision CompositeShape 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