We have an application with IElements and Layers of type ILayer (both belong to ESRI.ArcGIS.Carto dll)
We want to export them to a kml o kmz file using C# code
What is the best way of develop it? Is there any example?
Check the IKmlConversion Interface which provides access to stateless methods that convert Maps or Layers into KMZ files or streams. This has a method called LayerToFile that uses an ILayer as input.
Retrieving data ...