ESRI.ArcGIS.ADF.IMS
ColumnCount Property
See Also 
ESRI.ArcGIS.ADF.IMS.Carto Namespace > Legend Class : ColumnCount Property




Gets or sets the number of columns in the Legend.

Syntax

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

Example

For an example, see the Legend overview.

Remarks

Multiple columns may be generated for the legend, if the Height of the legend does not accommodate all entries. The default is to draw the column as one column.

If text wraps around the legend, increase the width of the legend to allow space of all column items.

Does not apply to ArcMap Server image services.

See Also

© 2010 All Rights Reserved.