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 Function RectangleToClient (
	r As Rectangle
) As Rectangle


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