ESRI.ArcGIS.ADF.IMS
Width Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.IMS.Carto Namespace > Legend Class : Width Property




Gets or sets the width of the Legend Image.

Syntax

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

Example

For an example, see the Legend overview.

Remarks

The width of the legend in pixels. Multiple columns as specified in ColumntCount will increase legend width. If items in the legend are cut off, increase the size of the legend or reduce swatch and font sizes.

Default is 125 pixels.

Does not apply to ArcMap Server image services.

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.