Control.RectangleToClient(Rectangle) Method

Definition

Calcola le dimensioni e la posizione del rettangolo dello schermo specificato nelle coordinate client.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);
member this.RectangleToClient : System.Drawing.Rectangle -> System.Drawing.Rectangle
Public Function RectangleToClient (r As Rectangle) As Rectangle

Parameters

r
Rectangle

Oggetto Rectangle delle coordinate dello schermo da convertire.The screen coordinate Rectangle to convert.

Returns

Rectangle

Oggetto Rectangle che rappresenta l'oggetto Rectangle convertito, r, nelle coordinate client.A Rectangle that represents the converted Rectangle, r, in client coordinates.

Applies to

See also