A Point that specifies the location for which to retrieve a Screen.
Type: System.Windows.Forms.Screen A Screen for the display that contains the point. In multiple display environments where no display contains the point, the display closest to the specified point is returned.
The following code example shows how to use the FromPoint method. This example creates a Point referencing the X and Y coordinates passed by a MouseEventArgs, and then uses the FromPoint method to determine if the point clicked is on the primary screen.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)