Back to Devexpress

MapUnit Members

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

latest3.5 KB
Original Source

MapUnit Members

A class that contains a location in internal map units.

Constructors

NameDescription
MapUnit(Double, Double)Initializes a new instance of the MapUnit class with the specified X and Y locations of the map unit.

Properties

NameDescription
XA horizontal coordinate of a MapUnit.
YA vertical coordinate of a MapUnit.

Methods

NameDescription
Equals(MapUnit, MapUnit) staticDetermines whether the two specified MapUnit objects are equal.
Equals(MapUnit)Indicates whether the current object is equal to another object of the MapUnit type.
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 MapUnit instance.
GetHashCode()Gets the hash code (a number) that corresponds to the value of the current MapUnit object.
GetType()Gets the Type of the current instance. Inherited from Object.
Normalize(MapUnit) staticNormalizes the specified map unit’s coordinates to the range from 0 to 1.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns the textual representation of MapUnit.
ToString(IFormatProvider)Returns the textual representation of MapUnit.
TryParse(String, IFormatProvider, out MapUnit) staticConverts the passed string to a Map Unit object. A return value indicates whether the conversion succeeded.

See Also

MapUnit Struct

DevExpress.XtraMap Namespace