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

See Also

© 2010 All Rights Reserved.