ESRI.ArcGIS.ADF.ArcGISServer
GetLegendInfo Method
See Also 
ESRI.ArcGIS.ADF.ArcGISServer Namespace > MapServerProxy Class : GetLegendInfo Method




MapName
LayerIDs
LegendPatch
ImageType

Syntax

Visual Basic (Declaration) 
<SoapDocumentMethodAttribute(RequestNamespace="http://www.esri.com/schemas/ArcGIS/10.0", 
   ResponseNamespace="http://www.esri.com/schemas/ArcGIS/10.0", 
   Use=SoapBindingUse.Literal, 
   ParameterStyle=SoapParameterStyle.Wrapped)>
Public Function GetLegendInfo( _
   ByVal MapName As String, _
   ByVal LayerIDs() As Integer, _
   ByVal LegendPatch As MapServerLegendPatch, _
   ByVal ImageType As ImageType _
) As MapServerLegendInfo()
Visual Basic (Usage)Copy Code
Dim instance As MapServerProxy
Dim MapName As String
Dim LayerIDs() As Integer
Dim LegendPatch As MapServerLegendPatch
Dim ImageType As ImageType
Dim value() As MapServerLegendInfo
 
value = instance.GetLegendInfo(MapName, LayerIDs, LegendPatch, ImageType)
C# 
[SoapDocumentMethodAttribute(RequestNamespace="http://www.esri.com/schemas/ArcGIS/10.0", 
   ResponseNamespace="http://www.esri.com/schemas/ArcGIS/10.0", 
   Use=SoapBindingUse.Literal, 
   ParameterStyle=SoapParameterStyle.Wrapped)]
public MapServerLegendInfo[] GetLegendInfo( 
   string MapName,
   int[] LayerIDs,
   MapServerLegendPatch LegendPatch,
   ImageType ImageType
)

Parameters

MapName
LayerIDs
LegendPatch
ImageType

See Also

© 2010 All Rights Reserved.