ArcGIS API for Silverlight - Library Reference
MapUnits Property
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Actions Namespace > MeasureAction Class : MapUnits Property

Gets or sets the units of the map.

Syntax

Visual Basic (Declaration) 
Public Property MapUnits As DistanceUnit
C# 
public DistanceUnit MapUnits {get; set;}

Remarks

If the map units are not set manually, the measure action will use a default map unit which is calculated from the spatial reference of the map or from the ESRI.ArcGIS.Client.ArcGISTiledMapServiceLayer.Units of the layers inside the map.

Property Value

The map units.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7

See Also

© ESRI, Inc. All Rights Reserved.