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




The text displayed next to the ScaleBar. The format of the string should be a semi-colon seperated list of choices which correspond to the ScaleBarUnitConversionGroup property (Eg:- Miles;Feet or Kilometer;Meter). If no text is specified, the appropriate unit name is displayed. This property is only valid when RenderOnClient=true.

Syntax

Visual Basic (Declaration) 
<ResDescriptionAttribute("The text displayed next to the ScaleBar. The format of the string should be a semi-colon seperated list of choices which correspond to the ScaleBarUnitConversionGroup property (Eg:- Miles;Feet or Kilometer;Meter). If no text is specified, the appropriate unit name is displayed. This property is only valid when RenderOnClient=true.")>
<DefaultValueAttribute()>
<ResCategoryAttribute("Appearance")>
Public Property LabelText As String
Visual Basic (Usage)Copy Code
Dim instance As ScaleBar
Dim value As String
 
instance.LabelText = value
 
value = instance.LabelText
C# 
[ResDescriptionAttribute("The text displayed next to the ScaleBar. The format of the string should be a semi-colon seperated list of choices which correspond to the ScaleBarUnitConversionGroup property (Eg:- Miles;Feet or Kilometer;Meter). If no text is specified, the appropriate unit name is displayed. This property is only valid when RenderOnClient=true.")]
[DefaultValueAttribute()]
[ResCategoryAttribute("Appearance")]
public string LabelText {get; set;}

See Also

© 2010 All Rights Reserved.