ESRI.ArcGIS.ADF.Web.DataSources.Graphics
GetMapContents Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.Graphics Namespace > MapTocFunctionality 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 WebImageFormat, _
   ByVal useMimeData As Boolean, _
   ByVal showAllDataFrames As Boolean _
) As TocDataFrame()
Visual Basic (Usage)Copy Code
Dim instance As MapTocFunctionality
Dim mapFunctionalityName As String
Dim format As WebImageFormat
Dim useMimeData As Boolean
Dim showAllDataFrames As Boolean
Dim value() As TocDataFrame
 
value = instance.GetMapContents(mapFunctionalityName, format, useMimeData, showAllDataFrames)
C# 
public TocDataFrame[] GetMapContents( 
   string mapFunctionalityName,
   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.

See Also

© 2010 All Rights Reserved.