ArcGIS Pro 2.8 API Reference Guide
SetMaxScale Method

ArcGIS.Desktop.Mapping Namespace > Layer Class : SetMaxScale Method
Maximum scale.
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 10, Windows 8.1

See Also

Reference

Layer Class
Layer Members