ActionsPane.RectangleToScreen Method
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)
Syntax
'Declaration
Function RectangleToScreen ( _
r As Rectangle _
) As Rectangle
Rectangle RectangleToScreen(
Rectangle r
)
Parameters
r
Type: System.Drawing.RectangleThe client coordinate Rectangle to convert.
Return Value
Type: System.Drawing.Rectangle
A Rectangle that represents the converted Rectangle, p, in screen coordinates.
Remarks
This method provides the same functionality as the Control.RectangleToScreen method. For more information about using this method, see Control.RectangleToScreen.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Office.Tools Namespace