CogRectangle GetXYWidthHeight Method Cognex VisionPro 9.21
Retrieve X,Y,Width,Height parameterization.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 83.0.0.0
Syntax

public void GetXYWidthHeight(
	out double x,
	out double y,
	out double width,
	out double height
)

Parameters

x
Type: System Double 

The x-coordinate of the top left corner of the rectangle.

y
Type: System Double 

The y-coordinate of the top left corner of the rectangle

width
Type: System Double 

The width of the rectangle.

height
Type: System Double 

The height of the rectangle.

Remarks

Returns the x- and y-coordinates and the width and height of this rectangle.

See Also