Skip to main content
All docs
V24.2

Measurements.RemoveRuler(MapRuler) Method

Removes the ruler passed as a parameter from the map.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v24.2.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