 | 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
Syntaxpublic static Rectangle Normalize(
Rectangle rect
)
Public Shared Function Normalize (
rect As Rectangle
) As Rectangle
Parameters
- rect
- Type: System.DrawingRectangle
A rectangle.
Return Value
Type:
RectangleThe normalized rectangle, i.e. a rectangle with positive width and height.
See Also