RectangleToClient Method
TOC
Collapse the table of content
Expand the table of content

Control.RectangleToClient Method

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

[Visual Basic]
Public Function RectangleToClient( _
   ByVal r As Rectangle _
) As Rectangle
[C#]
public Rectangle RectangleToClient(
 Rectangle r
);
[C++]
public: Rectangle RectangleToClient(
 Rectangle r
);
[JScript]
public function RectangleToClient(
   r : Rectangle
) : Rectangle;

Parameters

r
The screen coordinate Rectangle to convert.

Return Value

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

Control Class | Control Members | System.Windows.Forms Namespace | Rectangle | RectangleToScreen

Show:
© 2016 Microsoft