ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / Layer Class / SetShowLayerAtAllScales Method

In This Topic
    SetShowLayerAtAllScales Method
    In This Topic
    Sets whether the layer is visible at all scales. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Public Sub SetShowLayerAtAllScales( _
       ByVal isShowLayerAtAllScales As Boolean _
    ) 
    public void SetShowLayerAtAllScales( 
       bool isShowLayerAtAllScales
    )

    Parameters

    isShowLayerAtAllScales
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Requirements

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

    ArcGIS Pro version: 3.3 or higher.
    See Also