ESRI.ArcGIS.ADF.IMS
MapUnits Property
See Also  Send Feedback
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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.