ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping.Controls Namespace / MapControl Class / ScreenToMap Method
The point value in screen coordinates.

In This Topic
    ScreenToMap Method (MapControl)
    In This Topic
    Converts a point in screen coordinates to a point in the coordinates of the map or scene. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public MapPoint ScreenToMap( 
       Point screenPoint
    )
    Public Function ScreenToMap( _
       ByVal screenPoint As Point _
    ) As MapPoint

    Parameters

    screenPoint
    The point value in screen coordinates.

    Return Value

    The converted point in map coordinates.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also