ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping.Controls Namespace / MapControl Class / ClientToMap Method
The point that represents client coordinates relative to the top-left corner of the view.

In This Topic
    ClientToMap Method (MapControl)
    In This Topic
    Converts a point in client coordinates relative to the top-left corner of the view 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 ClientToMap( 
       Point clientPoint
    )
    Public Function ClientToMap( _
       ByVal clientPoint As Point _
    ) As MapPoint

    Parameters

    clientPoint
    The point that represents client coordinates relative to the top-left corner of the view.

    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

    ArcGIS Pro version: 3 or higher.
    See Also