Skip to main content
All docs
V24.1

Measurements.RemoveRuler(MapRuler) Method

Removes the ruler passed as a parameter from the map.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v24.1.dll

NuGet Package: DevExpress.Wpf.Map

Declaration

public void RemoveRuler(
    MapRuler ruler
)

Parameters

Name Type Description
ruler MapRuler

The ruler to be removed.

Remarks

The following code removes a ruler:

mapControl1.Measurements.RemoveRuler(ruler);
See Also