Visual.PointFromScreen Method

Converts a Point in screen coordinates into a Point that represents the current coordinate system of the Visual.

Namespace:  System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

'Declaration
Public Function PointFromScreen ( _
	point As Point _
) As Point

Parameters

point
Type: System.Windows.Point

The Point value in screen coordinates.

Return Value

Type: System.Windows.Point
The converted Point value that represents the current coordinate system of the Visual.

Use the PointToScreen method to convert a Point that represents the current coordinate system of the Visual into a Point in screen coordinates.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft