Note: This API is now obsolete. Please use the ScaleLine control in the ESRI.ArcGIS.Client.Toolkit namespace.
Gets or sets the height of the ScaleBar Control.
Visual Basic (Declaration) | |
---|---|
Public Property BarHeight As Double |
C# | |
---|---|
public double BarHeight {get; set;} |
XAML | Copy Code |
---|---|
<esri:ScaleBar Name="ScaleBar1" Map="{Binding ElementName=Map1}" BarHeight="50" /> |
C# | Copy Code |
---|---|
//The ScaleBar Control (named ScaleBar1) was define previously in the code...
ScaleBar1.BarHeight = 50; |
VB.NET | Copy Code |
---|---|
'The ScaleBar Control (named ScaleBar1) was define previously in the code...
ScaleBar1.BarHeight = 50 |
The BarHeight of the ScaleBar Control is the total height of the graphic bars in the Control; not one of the single individual alternating sub-bars.
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family