This topic has not yet been rated - Rate this topic

Shape.RectangleToClient Method

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

Namespace:  Microsoft.VisualBasic.PowerPacks
Assembly:  Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)
public Rectangle RectangleToClient(
	Rectangle rect
)

Parameters

rect
Type: Rectangle

The screen coordinate Rectangle to convert.

Return Value

Type: Rectangle
A Rectangle that represents the converted Rectangle, p, in client coordinates.

Some properties and methods express coordinates relative to the upper-left corner of the screen; others express them relative to the client form. The RectangleToClient and RectangleToScreen methods can be used to convert between the two.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.