Skip to main content
A newer version of this page is available. .
All docs
V20.2

AreaMeasurementUnit.GetPredefinedUnits() Method

Returns a list of predefined measurement units.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Map, DevExpress.Wpf.Map

Declaration

public static List<AreaMeasurementUnit> GetPredefinedUnits()

Returns

Type Description
List<AreaMeasurementUnit>

A list of predefined measurement units.

Remarks

The following code sets a list of measurement units to the units variable:

List<AreaMeasurementUnit> units = AreaMeasurementUnit.GetPredefinedUnits();
See Also