Share via


DistanceUnit Enumeration

 

Represents the units of distance used by the scale bar.

Namespace:   Microsoft.Maps.MapControl.WPF.Overlays
Assembly:  Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)

Syntax

public enum DistanceUnit
public enum class DistanceUnit
type DistanceUnit
Public Enumeration 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.

See Also

Microsoft.Maps.MapControl.WPF.Overlays Namespace

Return to top