ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapView Class / SetStereoCursorMode Method
True or false depending on whether the cursor mode to set is fixed or floating respectively.

In This Topic
    SetStereoCursorMode Method
    In This Topic
    Sets the stereo model's cursor to either fixed or floating states. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Public Sub SetStereoCursorMode( _
       ByVal cursorFixed As Boolean _
    ) 
    public void SetStereoCursorMode( 
       bool cursorFixed
    )

    Parameters

    cursorFixed
    True or false depending on whether the cursor mode to set is fixed or floating respectively.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    The cursor fixed mode can only be set on Stereo views.
    Remarks
    Use CanSetStereoCursorMode to determine if a cursor mode can be set. Set cursorFixed to false to set the cursor mode to floating and to true to set it to fixed. If the current cursor mode is already the same as what is being requested (ie fixed or floating), no action is taken. If the DefaultViewingMode is not ArcGIS.Core.CIM.MapViewingMode.MapStereo or the mapview is not ready, a System.InvalidOperationException will be thrown. Use IsStereoCursorFixed to determine the current stereo cursor mode.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.7 or higher.
    See Also