Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Control::RectangleToClient Method (Rectangle)

 

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: