Skip to main content
A newer version of this page is available. .

ProjectionBase Members

The base class for all projections used in the MapControl.

Fields

Name Description
LatToKilometersRatio Defines the ratio of 1 latitude degree to 1 kilometer.
LonToKilometersRatio Defines the ratio of 1 longitude degree to 1 kilometer.

Properties

Name Description
DefaultProjection static Returns the default map projection object.
OffsetX Obsolete. Gets or sets the horizontal offset for this projection.
OffsetY Obsolete. Gets or sets the vertical offset for this projection.
ScaleX Obsolete. Gets or sets a value that defines the ratio of map units to degrees of longitude (in radians).
ScaleY Obsolete. Gets or sets a value that defines the ratio of map units to degrees of latitude (in radians).

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the two specified ProjectionBase objects are equal.
GeoPointToMapUnit(GeoPoint) Converts the specified geographical point into internal map units.
GeoToKilometersSize(GeoPoint, MapSize) Converts the geographical size to kilometers.
GetHashCode() Gets the hash code (a number) that corresponds to the value of the current ProjectionBase object.
GetType() Gets the Type of the current instance. Inherited from Object.
KilometersToGeoSize(GeoPoint, MapSize) Converts kilometers to the geographical size.
MapUnitToGeoPoint(MapUnit) Converts the specified map unit into the corresponding geographical point.
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.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also