ESRI.ArcGIS.ADF.Tasks
LegendItemSettings Constructor(ItemSettings<Boolean>,ResourceList,Boolean,Int32,Int32)
See Also  Send Feedback
ESRI.ArcGIS.ADF.Tasks Namespace > LegendItemSettings Class > LegendItemSettings Constructor : LegendItemSettings Constructor(ItemSettings<Boolean>,ResourceList,Boolean,Int32,Int32)




itemSettings
Item settings object containing default value and visibility.
hiddenLayers
List of resource names not to display in legend.
condensed
Whether legend appears in condensed form or not.
columns
How many columns to use for the legend.
columnThreshold
Number of swatch elements that must appear when the layer swatches span multiple columns.
Constructor taking an ItemSettings along with class-specific properties.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal itemSettings As ItemSettings(Of Boolean), _
   ByVal hiddenLayers As ResourceList, _
   ByVal condensed As Boolean, _
   ByVal columns As Integer, _
   ByVal columnThreshold As Integer _
)
Visual Basic (Usage)Copy Code
Dim itemSettings As ItemSettings(Of Boolean)
Dim hiddenLayers As ResourceList
Dim condensed As Boolean
Dim columns As Integer
Dim columnThreshold As Integer
 
Dim instance As New LegendItemSettings(itemSettings, hiddenLayers, condensed, columns, columnThreshold)
C# 
public LegendItemSettings( 
   ItemSettings<bool> itemSettings,
   ResourceList hiddenLayers,
   bool condensed,
   int columns,
   int columnThreshold
)

Parameters

itemSettings
Item settings object containing default value and visibility.
hiddenLayers
List of resource names not to display in legend.
condensed
Whether legend appears in condensed form or not.
columns
How many columns to use for the legend.
columnThreshold
Number of swatch elements that must appear when the layer swatches span multiple columns.

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.