ESRI.ArcGIS.ADF.Web.UI.WebControls
BarUnits Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > ScaleBar Class : BarUnits Property




The units of the scale bar to report.

Syntax

Visual Basic (Declaration) 
<ResDescriptionAttribute("The units of the scale bar. Valid units are: Feet, Kilometers, Meters, and Miles.")>
<PersistenceModeAttribute()>
<BindableAttribute(True)>
<ResCategoryAttribute("Appearance")>
<DefaultValueAttribute()>
Public Property BarUnits As ScaleBarUnits
Visual Basic (Usage)Copy Code
Dim instance As ScaleBar
Dim value As ScaleBarUnits
 
instance.BarUnits = value
 
value = instance.BarUnits
C# 
[ResDescriptionAttribute("The units of the scale bar. Valid units are: Feet, Kilometers, Meters, and Miles.")]
[PersistenceModeAttribute()]
[BindableAttribute(true)]
[ResCategoryAttribute("Appearance")]
[DefaultValueAttribute()]
public ScaleBarUnits BarUnits {get; set;}

Remarks

Valid ScaleBarUnits values are: Feet, Kilometers, Meters, and Miles.

See Also

© 2010 All Rights Reserved.