Show / Hide Table of Contents

Method IsVisibleAtScale

IsVisibleAtScale(double)

Determines whether the style layer is visible at the specified scale.

Declaration
public bool IsVisibleAtScale(double scale)
Parameters
Type Name Description
double scale

The scale for which to determine visibility.

Returns
Type Description
bool

A bool indicating whether the style layer is visible at the specified scale.

Remarks

This method utilizes the layer's minimum and maximum visible scale settings (if defined) to determine if the layer is visible at the specified scale. If IsVisible is false, this also returns false. If the style layer has no minimum or maximum scale defined, this returns the same result as IsVisible. Otherwise, it returns false if the specified scale falls outside of the layer's minimum and maximum visible scale range.

Applies to

Platforms and versions
TargetVersions
.NET300.2
.NET Windows300.2
.NET Android300.2
.NET iOS300.2
In this article
Provide feedback
Back to top Copyright © 2025 Esri.