DistanceUnit Enumeration
This documentation is no longer available on MSDN, however it is available as a CHM download.
Represents the units of distance used by the scale bar.
Namespace: Microsoft.Maps.MapControl.Overlays
Assembly: Microsoft.Maps.MapControl (in Microsoft.Maps.MapControl.dll)
Usage
Syntax
'Declaration
Public Enumeration DistanceUnit
public enum DistanceUnit
public enum class DistanceUnit
public enum DistanceUnit
public enum DistanceUnit
Members
Member name | Description |
---|---|
Default | The scale bar uses the default unit of distance of the current country or region. |
KilometersMeters | The scale bar uses kilometers for long distances and meters for shorter distances. |
MilesFeet | The scale bar uses miles for long distances and feet for short distances. |
MilesYards | The scale bar uses miles for long distances and yards for short distances. |
Platforms
Development Platforms
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.