ArcGIS Pro 3.4 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.
Version

ClientToMap Method (MapControl)
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
)

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