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
Target | Versions |
---|---|
.NET Windows | 100.13 - 200.6 |
.NET Framework | 100.0 - 200.6 |