ESRI.ArcGIS.ADF.IMS
Width Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.IMS.Display.AcetateElement Namespace > ScaleBar Class : Width Property




Gets or sets the width of the scale bar in pixels.

Syntax

Visual Basic (Declaration) 
Public Property Width As Integer
Visual Basic (Usage)Copy Code
Dim instance As ScaleBar
Dim value As Integer
 
instance.Width = value
 
value = instance.Width
C# 
public int Width {get; set;}

Example

For an example of using scalebars, see the ScaleBar overview.

Remarks

This sets the width, or thickness, of the scale bar. It does not affect the length of the scalebar. Default is 5 pixels.

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.