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
| Target | Versions |
|---|---|
| .NET | 300.2 |
| .NET Windows | 300.2 |
| .NET Android | 300.2 |
| .NET iOS | 300.2 |