ESRI.ArcGIS.ADF.IMS
Width Property
See Also 
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.

See Also

© 2010 All Rights Reserved.