Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Measurements Methods
Show Inherited Hide Inherited

Contains API to manage rulers that help users measure distances and areas on a map.
Name Description
CreateRuler(RulerType, IList<CoordPoint>, MapRulerStyle) Creates a ruler with the specified style and type to measure the distance or the area between coordinate points passed as the second parameter.
CreateRuler(RulerType, IList<CoordPoint>) Creates a ruler of the specified type to measure distance or area between coordinate points passed as the second parameter.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
InsertPoint(MapRuler, CoordPoint, Int32) Inserts a new point in the ruler.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RemovePoint(MapRuler, Int32) Removes a point with the specified index.
RemoveRuler(MapRuler) Removes the ruler passed as a parameter from the map.
RemoveRulers() Removes all rulers from the map.
SetCreateMode(RulerType) Activates the Measurements object’s Create mode.
SetEditMode() Enables Edit mode of the Measurements object.
ToString() Returns the short class name enclosed in parentheses.
UpdatePoint(MapRuler, CoordPoint, Int32) Changes the coordinates of a point with the specified index.
See Also