ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapView Class / SetCursorPosition Method / SetCursorPosition(MapPoint) Method
The target map point
Version

SetCursorPosition(MapPoint) Method
Set the cursor position to the specified map point.
Syntax
public void SetCursorPosition( 
   MapPoint mapPoint
)

Parameters

mapPoint
The target map point
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
The viewer is not initialized or is busy.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.3 or higher.
See Also