ArcObjects Library Reference (Carto)  

IKmlConversion.MapServerMapToArray Method

Converts MapServer Map in server environment to KML and outputs a KMZ stream.

[Visual Basic .NET]
Public Function MapServerMapToArray ( _
    ByVal pMapServer As IMapServer, _
    ByVal pQueryFilter As IQueryFilter, _
    ByVal pKmlParameters As IPropertySet, _
    ByRef pLayerIDs As String _
) As Byte[]
[C#]
public Byte[] MapServerMapToArray (
    IMapServer pMapServer,
    IQueryFilter pQueryFilter,
    IPropertySet pKmlParameters,
    ref string pLayerIDs
);
[C++]
HRESULT MapServerMapToArray(
  IMapServer* pMapServer,
  IQueryFilter* pQueryFilter,
  IPropertySet* pKmlParameters,
  BSTR* pLayerIDs,
  pData* pData
);
[C++]

Parameters

pMapServer [in]

  pMapServer is a parameter of type IMapServer

pQueryFilter [in]

  pQueryFilter is a parameter of type IQueryFilter

pKmlParameters [in]

  pKmlParameters is a parameter of type IPropertySet

pLayerIDs [in]   pLayerIDs is a parameter of type BSTR pData [out, retval]   pData is a parameter of type

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IKmlConversion Interface