This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARMap Interface > IARMap.MapUnits Property (ArcObjects .NET 10.5 SDK) |
The geographical units of the map.
[Visual Basic .NET] Public ReadOnly Property MapUnits As esriARUnits
[C#] public esriARUnits MapUnits {get;}
The ARMap's map units. Any coordinates returned from the GetExtent, GetFullExtent and ToMapPoint methods will be in MapUnits. Likewise the coordinates passed into the SetExtent and CenterAt methods need to be in MapUnits.
2118 800A0846: The spatial reference is unknown so this operation cannot be completed
IARMap Interface | IARMap.SpatialReferenceName Property | IARMap.ReferenceScale Property | IARMap.MapScale Property | IARMap.DistanceUnits Property