Frequently asked question
Code:
Dim k As IUnitConverter
Set k = New UnitConverter
Dim j As Double
j = k.ConvertUnits(10, esriMeters, esriNauticalMiles)
Code:
esriUnknownUnits 0 Unknown
esriInches 1 Inches
esriPoints 2 Points
esriFeet 3 Feet
esriYards 4 Yards
esriMiles 5 Miles
esriNauticalMiles 6 Nautical miles
esriMillimeters 7 Millimeters
esriCentimeters 8 Centimeters
esriMeters 9 Meters
esriKilometers 10 Kilometers
esriDecimalDegrees 11 Decimal degrees
esriDecimeters 12 Decimeters
esriUnitsLast 13 Internal use only
Get help from ArcGIS experts
Download the Esri Support App