Computes the location of the specified screen point into client coordinates.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Function PointToClient( _
ByVal p As System.Drawing.Point _
) As System.Drawing.Point |
| C# | |
|---|
public System.Drawing.Point PointToClient(
System.Drawing.Point p
) |
Parameters
- p
- The screen coordinate System.Drawing.Point to convert.
Return Value
A
System.Drawing.Point that represents the converted
System.Drawing.Point,
p, in client coordinates.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also