Converts Map to KML and outputs a KMZ file.
[Visual Basic .NET] Public Sub MapToFile ( _ ByVal pMap As IMap, _ ByVal pQueryFilter As IQueryFilter, _ ByVal pKmlParameters As IPropertySet, _ ByRef pLayerIDs As String, _ ByVal Filename As String _ )
[C#] public void MapToFile ( IMap pMap, IQueryFilter pQueryFilter, IPropertySet pKmlParameters, ref string pLayerIDs, ref string Filename );
[C++]
HRESULT MapToFile(
IMap* pMap,
IQueryFilter* pQueryFilter,
IPropertySet* pKmlParameters,
BSTR* pLayerIDs,
BSTR Filename
);
[C++]Parameters
pMap [in]pMap is a parameter of type IMap
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.