Rectangle SetXYWidthHeight Method Cognex VisionPro 9.22 SR1

Initialize from X,Y,Width,Height.

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.22.2.0
Syntax

public void SetXYWidthHeight(
	double x,
	double y,
	double width,
	double height
)
Exceptions

ExceptionCondition
ArgumentExceptionwidth is <= 0 or height is <= 0.
Remarks

Changed Raised when the rectangle geometry changes.

Remarks

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

See Also