ActionsPane.RectangleToClient Method
Computes the size and location of the specified screen rectangle in client coordinates.
Namespace: Microsoft.Office.Tools
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
Function RectangleToClient ( _
r As Rectangle _
) As Rectangle
Rectangle RectangleToClient(
Rectangle r
)
Parameters
r
Type: System.Drawing.RectangleThe screen coordinate Rectangle to convert.
Return Value
Type: System.Drawing.Rectangle
A Rectangle that represents the converted Rectangle, r, in client coordinates.
Remarks
This method provides the same functionality as the Control.RectangleToClient method. For more information about using this method, see Control.RectangleToClient.
.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