ActionsPane.RectangleToScreen Method (Rectangle)


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

Namespace:   Microsoft.Office.Tools
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

Rectangle RectangleToScreen(
	Rectangle r


Type: System.Drawing.Rectangle

The client coordinate Rectangle to convert.

Return Value

Type: System.Drawing.Rectangle

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

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

Return to top