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

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.