ESRI.ArcGIS.ADF.Web.UI.WebControls | |
AddLegend Method | |
See Also |
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > GraphicsLayerNode Class : AddLegend Method |
- taskResults
- TaskResults control that the graphics layer node is associated with.
Visual Basic (Declaration) | |
---|---|
Public Overrides Sub AddLegend( _ ByVal taskResults As TaskResults _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public override void AddLegend( TaskResults taskResults ) |
Parameters
- taskResults
- TaskResults control that the graphics layer node is associated with.
This method may be used to display a legend for the graphics layer to the user.
It generates a table-of-contents type legend node, with name and color swatch, for the
graphics layer that the node contains. It then adds the legend node to the task results
node.