Show / Hide Table of Contents

Property UnitsPerPixel

UnitsPerPixel

Gets the size of each device-independent pixel (DIP) in map units.

Declaration
public double UnitsPerPixel { get; }
Property Value
Type Description
System.Double

The size of each device-independent pixel (DIP) in map units.

Remarks

Returns System.Double.NaN if the map isn't in a ready-state.

You can observe changes to this property by listening to the System.ComponentModel.INotifyPropertyChanged.PropertyChanged event.

The represents the spatial resolution of the MapView. The value changes according to the MapScale (it decreases as the user zooms in, for example).

The value is System.Double.NaN until the load status of the Map is Loaded and the draw status of the GeoView is Completed.

Applies to

Platforms and versions
TargetVersions
.NET Windows100.13 - 200.7
.NET Framework100.0 - 200.7
In This Article
Back to top Copyright © 2022 Esri.