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

See Also

© 2010 All Rights Reserved.