Show / Hide Table of Contents

Constructor ScaleRangeDisplayFilter

ScaleRangeDisplayFilter(String, String, Double, Double)

Initializes a new instance of the ScaleRangeDisplayFilter class with the specified name, where clause, and scale range.

Declaration
public ScaleRangeDisplayFilter(string name, string whereClause, double minScale, double maxScale)
Parameters
Type Name Description
System.String name

A descriptive name for this display filter.

System.String whereClause

A SQL expression that defines which features are rendered.

System.Double minScale

The minimum scale at which this display filter is applied. If Esri.ArcGISRuntime.UI.Controls.MapView.Scale or TargetScale is less than or equal this value, the DisplayFilter will be applied. This value should be greater than maxScale. A value of 0 indicates this display filter is applied without an upper limit.

System.Double maxScale

The maximum scale at which this display filter is applied. If Esri.ArcGISRuntime.UI.Controls.MapView.Scale or TargetScale is greater than or equal this value, the DisplayFilter will be applied. This value should be less than minScale. A value of 0 indicates this display filter is applied without a lower limit.

Exceptions
Type Condition
System.ArgumentException

A maxScale greater than the minScale will not create a valid scale display filter.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.13 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.13 - 200.8
Xamarin.Android100.13 - 100.15
Xamarin.iOS100.13 - 100.15
UWP100.13 - 200.8
In This Article
Back to top Copyright © 2022 Esri.