ESRI.ArcGIS.Mobile
Width Property
See Also  Send Feedback
ESRI.ArcGIS.Mobile.WinForms Namespace > ScaleBar Class : Width Property

Gets or sets the bar's width of the ScaleBar.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Layout")>
<DefaultValueAttribute()>
<DescriptionAttribute("Width of the ScaleBar's bar.")>
Public Property Width As Integer
C# 
[CategoryAttribute("Layout")]
[DefaultValueAttribute()]
[DescriptionAttribute("Width of the ScaleBar's bar.")]
public int Width {get; set;}

Exceptions

ExceptionDescription
ArgumentOutOfRangeExceptionInvalid value for width of ScaleBar.

Remarks

Gets or sets the width of the ScaleBar. If it is larger that the map width the ScaleBar will be the Map width.

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

© 2013 All Rights Reserved.