ArcGIS Pro 2.6 API Reference Guide
MapToScreen Method (MapView)

ArcGIS.Desktop.Mapping Namespace > MapView Class : MapToScreen Method
The point that represents coordinates in a map.
Converts a point in the coordinates of the map or scene to a point in screen coordinates. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public Point MapToScreen( 
   MapPoint mapPoint
)
Public Function MapToScreen( _
   ByVal mapPoint As MapPoint _
) As Point

Parameters

mapPoint
The point that represents coordinates in a map.

Return Value

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

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

MapView Class
MapView Members