CogCoreConverters MakeRectangle Method Cognex VisionPro 9.22
Create a Deep Copy of the provided CogRectangle VisionPro object in the form of a Rectangle Vision object.

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

public static Rectangle MakeRectangle(
	CogRectangle rectangle
)

Parameters

rectangle
Type: Cognex.VisionPro CogRectangle
The VisionPro CogRectangle to be copied from.

Return Value

Type: Rectangle
A Vision Rectangle that is equivalent to the provided VisionPro CogRectangle.
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