This document is archived and information here might be outdated.  Recommended version.


IARGlobeControl.ARUnitConverter Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (PublisherControls)  

IARGlobeControl.ARUnitConverter Property

The ARUnitConverter contained by the control.

[Visual Basic .NET]
Public ReadOnly Property ARUnitConverter As ARUnitConverter
[C#]
public ARUnitConverter ARUnitConverter {get;}

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

The ARUnitConverter object is a helper object for firstly converting values between different esriARUnits and secondly for converting values and esriARUnits constants to strings.

Remarks

Caution should be exercised, when converting units of measurement, that the conversion is sensible. For example, the ARUnitConverter will allow one to convert a distance measured in Kilometers to a distance in Decimal Degrees. However, because the meridians converge towards the poles, a degree of longitude varies in size. One degree of longitude is approximately 111km at the equator but only 79km at a latitude of 45 degrees. The ARUnitConverter has no in-built intelligence to handle such conversions but does allow such conversions to be undertaken. If the ARUnitConverter is used to convert a distance of 1 decimal degree to kilometres, it assumes the distance is a measure of latitude, or a measure of longitude at the equator.

See Also

IARGlobeControl Interface