This document is archived and information here might be outdated.  Recommended version.


IKmlConversion.MapServerMapToFile Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IKmlConversion.MapServerMapToFile Method

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

[Visual Basic .NET]
Public Sub MapServerMapToFile ( _
    ByVal pMapServer As IMapServer, _
    ByVal pQueryFilter As IQueryFilter, _
    ByVal pKmlParameters As IPropertySet, _
    ByRef pLayerIDs As String, _
    ByVal Filename As String _
)
[C#]
public void MapServerMapToFile (
    IMapServer pMapServer,
    IQueryFilter pQueryFilter,
    IPropertySet pKmlParameters,
    ref string pLayerIDs,
    ref string Filename
);
[C++]
HRESULT MapServerMapToFile(
  IMapServer* pMapServer,
  IQueryFilter* pQueryFilter,
  IPropertySet* pKmlParameters,
  System.String* pLayerIDs,
  BSTR Filename
);
[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* Filename [in]
Filename is a parameter of type BSTR

Product Availability

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

See Also

IKmlConversion Interface