Share via


Scale.DistanceUnit Property

 

Gets or sets the distance unit used by the scale bar.

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

Syntax

public DistanceUnit DistanceUnit { get; set; }
public:
property DistanceUnit DistanceUnit {
    DistanceUnit get();
    void set(DistanceUnit value);
}
member DistanceUnit : DistanceUnit with get, set
Public Property DistanceUnit As DistanceUnit

Property Value

Type: Microsoft.Maps.MapControl.WPF.Overlays.DistanceUnit

Returns DistanceUnit.

See Also

Scale Class
Microsoft.Maps.MapControl.WPF.Overlays Namespace

Return to top