ESRI.ArcGIS.ADF.IMS
ScaleBarUnits Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.IMS.Display.AcetateElement Namespace > ScaleBar Class : ScaleBarUnits Property




Gets or sets the screen-units.

Syntax

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

Example

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

Remarks

ScaleBarUnits determines the units displayed on the map for the scalebar. For example, if set to Kilometers, the text adjacent to the scalebar will give the length of the scalebar in kilometers.

See remarks in the ScaleBar Class overview for information on how scalebar length is determined.

Default is Miles.

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.