Show / Hide Table of Contents

Property ReferenceScale

ReferenceScale

Gets or sets the reference scale for the map.

Declaration
public double ReferenceScale { get; set; }
Property Value
Type Description
Double

The reference scale. May be 0 when layer is not loaded, or if layer has no reference scale set.

Remarks

The reference scale is the scale at which feature symbols and text will appear at their authored size. If the viewing scale is different from the reference scale, then the symbology and text graphics will be scaled to keep the same size on the map. Only those layers for which scaleSymbols is true will be scaled. For example, ScaleSymbols.

The default value is 0.0. Zero reference scale means that no reference scale is set and all symbology and text graphics will be drawn at their default screen size.

Updates to the reference scale will redraw other layers that use the reference scale, and may redraw other layers that depend on them. For example, dynamic labels may need to re-position to avoid overlaps.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.5 - 200.1
.NET 6.0100.13 - 200.1
.NET 6.0 Windows100.13 - 200.1
.NET 6.0 Android200.0 - 200.1
.NET 6.0 iOS200.0 - 200.1
.NET Framework100.5 - 200.1
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.5 - 100.15
iOS100.5 - 100.15
UWP100.5 - 200.1
Relevant samples
Map reference scale: Set the map's reference scale and which feature layers should honor the reference scale.
In This Article
Back to top Copyright © 2022 Esri.