Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.Rectangle
The 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