Skip to main content
A newer version of this page is available. .
All docs
V21.1

Measurements Methods

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