Skip to main content

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 map point into internal map units.
GeoToKilometersSize(GeoPoint, Size) Converts the specified size in geographical points into the corresponding size in kilometers for the specified anchor point.
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, Size) Converts the specified size in kilometers into the corresponding size in geographical points for the specified anchor point.
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.

Operators

Name Description
Equality(ProjectionBase, ProjectionBase) static Compares two ProjectionBase objects. The result specifies whether these objects are equal.
Inequality(ProjectionBase, ProjectionBase) static Compares two ProjectionBase objects. The result specifies whether these objects are unequal.s
See Also