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


IARMap.MapUnits Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (PublisherControls)  

IARMap.MapUnits Property

The geographical units of the map.

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

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

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.

Errors Returned

2118 800A0846: The spatial reference is unknown so this operation cannot be completed

See Also

IARMap Interface | IARMap.SpatialReferenceName Property | IARMap.ReferenceScale Property | IARMap.MapScale Property | IARMap.DistanceUnits Property