Control::RectangleToClient Method (Rectangle)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Computes the size and location of the specified screen rectangle in client coordinates.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
Rectangle RectangleToClient(
	Rectangle r
)

Parameters

r
Type: System.Drawing::Rectangle

The screen coordinate Rectangle to convert.

Return Value

Type: System.Drawing::Rectangle

A Rectangle that represents the converted Rectangle, r, in client coordinates.

.NET Framework
Available since 1.1
Return to top
Show: