ESRI.ArcGIS.ADF.IMS
MapUnits Property
See Also 
ESRI.ArcGIS.ADF.IMS.Display.AcetateElement Namespace > ScaleBar Class : MapUnits Property




Gets or sets the map units.

Syntax

Visual Basic (Declaration) 
Public Property MapUnits As MapUnits
Visual Basic (Usage)Copy Code
Dim instance As ScaleBar
Dim value As MapUnits
 
instance.MapUnits = value
 
value = instance.MapUnits
C# 
public MapUnits MapUnits {get; set;}

Example

For an example of using scalebars, see the ScaleBar overview.

Remarks

This should be set to the units of the current map, either in terms of the map service or the current spatial reference. Default is Degrees.

See Also

© 2010 All Rights Reserved.