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

In This Topic
    SetCursorPosition(MapPoint) Method
    In This Topic
    Set the cursor position to the specified map point.
    Syntax
    public void SetCursorPosition( 
       MapPoint mapPoint
    )
    Public Overloads Sub SetCursorPosition( _
       ByVal mapPoint As 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