CogCoreConverters MakeRectangleAffine Method Cognex VisionPro 9.10
Create a Deep Copy of the provided CogRectangleAffine VisionPro object in the form of a RectangleAffine Vision object, maintaining dimension equivalence and selected space name. Graphics properties are not converted; the RectangleAffine will have default graphical settings (color, line width, etc).

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

public static RectangleAffine MakeRectangleAffine(
	CogRectangleAffine rectangle
)

Parameters

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

Return Value

Type: RectangleAffine
A Vision RectangleAffine that has the equivalent dimensions and selected space name as the provided VisionPro CogRectangleAffine.
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