Back to Devexpress

MeasureUnit Members

windowsforms-devexpress-dot-xtramap-dot-measureunit-dot-underscore-members.md

latest5.5 KB
Original Source

MeasureUnit Members

Represents a measure unit used by a map.

Constructors

NameDescription
MeasureUnit(Double, String, String)Initializes a new instance of the MeasureUnit class with the specified meters in a unit, and the name and abbreviation parameters.

Properties

NameDescription
AbbreviationGets an abbreviation corresponding to the current measure unit.
Centimeter staticReturns an instance of the MeasureUnit class representing centimeters.
Foot staticReturns an instance of the MeasureUnit class representing feet.
Furlong staticReturns an instance of the MeasureUnit class representing furlongs.
Inch staticReturns an instance of the MeasureUnit class representing inches.
Kilometer staticReturns an instance of the MeasureUnit class representing kilometers.
Meter staticReturns an instance of the MeasureUnit class representing meters.
MetersInUnitReturns a value specifying the current measure unit converted into meters.
Mile staticReturns an instance of the MeasureUnit class representing miles.
Millimeter staticReturns an instance of the MeasureUnit class representing millimeters.
NameGets a name of a measure unit
NauticalMile staticReturns an instance of the MeasureUnit class representing nautical miles.
Yard staticReturns an instance of the MeasureUnit class representing yards.

Methods

NameDescription
Equals(MeasureUnit)Determines whether the specified measure unit is equal to the current MeasureUnit instance.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current MeasureUnit instance.
FromMeters(Double)Converts a value in meters to the value in the current measure unit.
GetHashCode()Gets the hash code (a number) that corresponds to the value of the current MeasureUnit object.
GetPredefinedUnits() staticReturns a list of predefined measure units.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToMeters(Double)Converts a current measure unit value to its value in meters.
ToString()Returns the textual representation of MeasureUnit.

See Also

MeasureUnit Class

DevExpress.XtraMap Namespace