Udostępnij za pośrednictwem


ActionsPane.RectangleToClient(Rectangle) Method

Definition

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

public:
 System::Drawing::Rectangle RectangleToClient(System::Drawing::Rectangle r);
public System.Drawing.Rectangle RectangleToClient (System.Drawing.Rectangle r);
abstract member RectangleToClient : System.Drawing.Rectangle -> System.Drawing.Rectangle
Public Function RectangleToClient (r As Rectangle) As Rectangle

Parameters

r
Rectangle

The screen coordinate Rectangle to convert.

Returns

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

Remarks

This method provides the same functionality as the System.Windows.Forms.Control.RectangleToClient method. For more information about using this method, see System.Windows.Forms.Control.RectangleToClient.

Applies to