ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Desktop.Presentations Namespace / PresentationView Class / ScreenToClient Method
The point value in screen coordinates.

In This Topic
    ScreenToClient Method (PresentationView)
    In This Topic
    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 screen coordinates.
    Exceptions
    ExceptionDescription
    screenPoint
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Remarks
    Screen coordinates are relative to the top-left corner of the screen. 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 11, Windows 10

    ArcGIS Pro version: 3.5 or higher.
    See Also