ESRI.ArcGIS.ConversionTools
MapToKML Constructor(Object,String,Object,Double)
See Also  Send your comments to: Site Administrator | Terms of Use | PRIVACY | Copyright @ ESRI | Careers
ESRI.ArcGIS.ConversionTools Namespace > MapToKML Class > MapToKML Constructor : MapToKML Constructor(Object,String,Object,Double)




in_map_document
The map document to convert to KML. (In, Required)
data_frame
The data frame of the map document to convert to KML. (In, Required)
out_kmz_file
The KML file to write. This file is compressed and will have a .kmz extension. It can be read by any KML client including ArcGIS Explorer, ArcGlobe, and Google Earth. (Out, Required)
map_output_scale
The scale at which to export the map document. Any scale-dependent rendering will be observed, so layers that are not visible at the export scale will not be included in the created KML file. The symbology for the map will be driven by this scale, so if the map has a reference scale defined, it should be considered when setting this parameter. (In, Required)
Constructor that takes all required parameters for geoprocessor execution.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal in_map_document As Object, _
   ByVal data_frame As String, _
   ByVal out_kmz_file As Object, _
   ByVal map_output_scale As Double _
)
Visual Basic (Usage)Copy Code
Dim in_map_document As Object
Dim data_frame As String
Dim out_kmz_file As Object
Dim map_output_scale As Double
 
Dim instance As MapToKML(in_map_document, data_frame, out_kmz_file, map_output_scale)
C# 
public MapToKML( 
   object in_map_document,
   string data_frame,
   object out_kmz_file,
   double map_output_scale
)

Parameters

in_map_document
The map document to convert to KML. (In, Required)
data_frame
The data frame of the map document to convert to KML. (In, Required)
out_kmz_file
The KML file to write. This file is compressed and will have a .kmz extension. It can be read by any KML client including ArcGIS Explorer, ArcGlobe, and Google Earth. (Out, Required)
map_output_scale
The scale at which to export the map document. Any scale-dependent rendering will be observed, so layers that are not visible at the export scale will not be included in the created KML file. The symbology for the map will be driven by this scale, so if the map has a reference scale defined, it should be considered when setting this parameter. (In, Required)

See Also

© 2010 All Rights Reserved.