Click or drag to resize
Ranorex

GeometryNormalize Method

Normalizes the specified rectangle, i.e. ensures that both width and height are positive.

Namespace:  Ranorex.Core
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public static Rectangle Normalize(
	Rectangle rect
)

Parameters

rect
Type: System.DrawingRectangle
A rectangle.

Return Value

Type: Rectangle
The normalized rectangle, i.e. a rectangle with positive width and height.
See Also