ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapView Class / SetActiveRangeName Method

In This Topic
    SetActiveRangeName Method
    In This Topic
    Sets the active range name for the map view.
    Syntax
    public Task SetActiveRangeName( 
       string rangeName
    )
    Public Function SetActiveRangeName( _
       ByVal rangeName As String _
    ) As Task

    Parameters

    rangeName
    Remarks
    This method can be used to switch between the RangeNames defined on layers.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also