ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / Layer Class / SetMaxScale Method
Maximum scale.

In This Topic
    SetMaxScale Method
    In This Topic
    Sets the layer's maximum scale (representative fraction) at which the layer is visible in a 2D map view. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void SetMaxScale( 
       double maxScale
    )
    Public Sub SetMaxScale( _
       ByVal maxScale As Double _
    ) 

    Parameters

    maxScale
    Maximum scale.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Remarks
    When you zoom in beyond maximum scale, the layer will not draw. For example, if you set minimum scale to 10,000, the layer will not draw when you zoom in 1:9,999 or beyond.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also