ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
GetMapContents Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > ImageMapTocFunctionality Class : GetMapContents Method




mapFunctionalityName
Name of the map functionality. Ignored for graphics resources.
format
Image format of the TOC layer swatches. Ignored for graphics resources.
useMimeData
Whether to retrieve images as MIME data. Ignored for graphics resources.
showAllDataFrames
Whether to show all data frames. Ignored for graphics resources.
Retrieves the contents of the map functionality's table of contents.

Syntax

Visual Basic (Declaration) 
Public Function GetMapContents( _
   ByVal mapFunctionalityName As String, _
   ByVal format As ESRI.ArcGIS.ADF.Web.WebImageFormat, _
   ByVal useMimeData As Boolean, _
   ByVal showAllDataFrames As Boolean _
) As ESRI.ArcGIS.ADF.Web.TocDataFrame()
Visual Basic (Usage)Copy Code
Dim instance As ImageMapTocFunctionality
Dim mapFunctionalityName As String
Dim format As ESRI.ArcGIS.ADF.Web.WebImageFormat
Dim useMimeData As Boolean
Dim showAllDataFrames As Boolean
Dim value() As ESRI.ArcGIS.ADF.Web.TocDataFrame
 
value = instance.GetMapContents(mapFunctionalityName, format, useMimeData, showAllDataFrames)
C# 
public ESRI.ArcGIS.ADF.Web.TocDataFrame[] GetMapContents( 
   string mapFunctionalityName,
   ESRI.ArcGIS.ADF.Web.WebImageFormat format,
   bool useMimeData,
   bool showAllDataFrames
)

Parameters

mapFunctionalityName
Name of the map functionality. Ignored for graphics resources.
format
Image format of the TOC layer swatches. Ignored for graphics resources.
useMimeData
Whether to retrieve images as MIME data. Ignored for graphics resources.
showAllDataFrames
Whether to show all data frames. Ignored for graphics resources.

Return Value

A set of TocDataFrame objects with legend information and symbols.

Remarks

The method may be used to retrieve table of contents (legend) information and symbols for the map functionality.

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.