This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMap Interface > IMap.DistanceUnits Property (ArcObjects .NET 10.5 SDK) |
The distance units for the map.
[Visual Basic .NET] Public Property DistanceUnits As esriUnits
[C#] public esriUnits DistanceUnits {get; set;}
[C++]
HRESULT get_DistanceUnits(
esriUnits* unitsCode
);
[C++]
HRESULT put_DistanceUnits(
esriUnits unitsCode
);
[C++]
Parameters unitsCode [out, retval]
unitsCode is a parameter of type esriUnits unitsCode [in]
unitsCode is a parameter of type esriUnits
The units - for example, feet, miles, meters, kilometers - ArcMap uses to report measurements, dimensions of shapes, and distance tolerances and offsets.