ESRI.ArcGIS.ADF.Tasks
LegendItemSettings Constructor(Generic ItemSettings,ResourceList,Boolean,Int32,Int32)
See Also 
ESRI.ArcGIS.ADF.Tasks Namespace > LegendItemSettings Class > LegendItemSettings Constructor : LegendItemSettings Constructor(Generic ItemSettings,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 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.

See Also

© 2010 All Rights Reserved.