編輯

共用方式為


Control.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);
member this.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.

Applies to

See also