ESRI.ArcGIS.ADF.Web | |
GetTocLayer Method | |
See Also |
ESRI.ArcGIS.ADF.Web.Display.Graphics Namespace > GraphicsLayer Class : GetTocLayer Method |
- layer
- Graphics layer for which to construct the TOC layer.
- swatchInfo
- Swatch information to use for symbolizing
Visual Basic (Declaration) | |
---|---|
Public Shared Function GetTocLayer( _ ByVal layer As GraphicsLayer, _ ByVal swatchInfo As SwatchInfo _ ) As TocLayer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public static TocLayer GetTocLayer( GraphicsLayer layer, SwatchInfo swatchInfo ) |
Parameters
- layer
- Graphics layer for which to construct the TOC layer.
- swatchInfo
- Swatch information to use for symbolizing
Return Value
A TOC layer.This method may be used to construct a TocLayer that may in turn be used to add an
item for the graphics layer to a Table of Contents
(
Toc) control that is
associated with a Map.