| Visual Basic (Declaration) | |
|---|---|
Public Property MapUnit As ScaleLine.ScaleLineUnit | |
| C# | |
|---|---|
public ScaleLine.ScaleLineUnit MapUnit {get; set;} | |
If the MapUnit is not set manually, the scale line control 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.
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family