ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapView Class / CanSetStereoCursorMode Method

In This Topic
    CanSetStereoCursorMode Method
    In This Topic
    Checks whether the stereo model's cursor mode can be toggled between fixed and floating states. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Public Function CanSetStereoCursorMode() As Boolean
    public bool CanSetStereoCursorMode()

    Return Value

    True if SetStereoCursorMode can be called.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Remarks
    Use CanSetStereoCursorMode in-conjunction with SetStereoCursorMode. False is returned when the DefaultViewingMode is not ArcGIS.Core.CIM.MapViewingMode.MapStereo or the mapview is not ready. Calling SetStereoCursorMode when CanSetStereoCursorMode returns false will result in an System.InvalidOperationException. 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