This document is archived and information here might be outdated. Recommended version. |
The units for the map (data frame).
[Visual Basic .NET] Public ReadOnly Property MapUnits As esriUnits
[C#] public esriUnits MapUnits {get;}
[C++]
HRESULT get_MapUnits(
esriUnits* Units
);
[C++]
Parameters Units [out, retval]
Units is a parameter of type esriUnits*
The map units are set in the map document itself and cannot be changed using MapServer. The map's original spatial reference determines the units. Changing the SpatialReference property of IMapDescription will not change the value of the MapUnits property on IMapServerInfo.