Partager via


ActionsPane.RectangleToScreen(Rectangle) Method

Definition

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

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

Parameters

r
Rectangle

The client coordinate Rectangle to convert.

Returns

A Rectangle that represents the converted Rectangle, p, in screen coordinates.

Remarks

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

Applies to