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


IKmlConversion Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IKmlConversion Interface

Provides access to stateless methods that convert Maps or Layers into KMZ files or streams.

Product Availability

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

Members

Description
Method GetLayerIDListFromMap Get array of numerical layer IDs in hierarchical order from Map.
Method GetLayerIDListFromMapServer Get array of numerical layer IDs in hierarchical order from MapServer.
Method LayerToArray Converts a layer to KML and outputs a KMZ stream.
Method LayerToFile Converts a layer to KML and outputs a KMZ file.
Method MapServerMapToArray Converts MapServer Map in server environment to KML and outputs a KMZ stream.
Method MapServerMapToFile Converts MapServer Map in server environment to KML and outputs a KMZ file.
Method MapToArray Converts Map to KML and outputs a KMZ stream.
Method MapToFile Converts Map to KML and outputs a KMZ file.

CoClasses that implement IKmlConversion

CoClasses and Classes Description
KmlConvertor (esriGlobeCore) The Kml Convertor object.