ESRI.ArcGIS.ADF.Web.UI.WebControls
LabelText Property
See Also  Send Feedback
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) 
<DefaultValueAttribute()>
<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.")>
<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# 
[DefaultValueAttribute()]
[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.")]
[ResCategoryAttribute("Appearance")]
public string LabelText {get; set;}

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.