ArcGIS Pro 2.7 API Reference Guide
ScreenToClient Method (LayoutView)

ArcGIS.Desktop.Layouts Namespace > LayoutView Class : ScreenToClient Method
The point value in screen coordinates.
Converts a point in screen coordinates to a point in client coordinates. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public Point ScreenToClient( 
   Point screenPoint
)
Public Function ScreenToClient( _
   ByVal screenPoint As Point _
) As Point

Parameters

screenPoint
The point value in screen coordinates.

Return Value

The converted point in client coordinates.
Exceptions
ExceptionDescription
screenPoint
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
Client coordinates will be in pixels relative to the top-left corner of the view. If either screen coordinate value is double.NaN then a point with X, Y both set to System.Double.NaN is returned.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

LayoutView Class
LayoutView Members