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




layer
The in-memory layer or layer file stored on disk that is to be converted to KML. (In, Required)
out_kmz_file
The KML file to write. This file is compressed and has a .kmz extension. It can be read by any KML client including ArcGIS Explorer, ArcGlobe, and Google Earth. (Out, Required)
layer_output_scale
The scale at which to export the layer. Any scale-dependent rendering is observed, so if the layer is not visible at the export scale, it will not be included in the created KML file. The symbology for the layer is driven by this scale. (In, Required)
Constructor that takes all required parameters for geoprocessor execution.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal layer As Object, _
   ByVal out_kmz_file As Object, _
   ByVal layer_output_scale As Double _
)
Visual Basic (Usage)Copy Code
Dim layer As Object
Dim out_kmz_file As Object
Dim layer_output_scale As Double
 
Dim instance As LayerToKML(layer, out_kmz_file, layer_output_scale)
C# 
public LayerToKML( 
   object layer,
   object out_kmz_file,
   double layer_output_scale
)

Parameters

layer
The in-memory layer or layer file stored on disk that is to be converted to KML. (In, Required)
out_kmz_file
The KML file to write. This file is compressed and has a .kmz extension. It can be read by any KML client including ArcGIS Explorer, ArcGlobe, and Google Earth. (Out, Required)
layer_output_scale
The scale at which to export the layer. Any scale-dependent rendering is observed, so if the layer is not visible at the export scale, it will not be included in the created KML file. The symbology for the layer is driven by this scale. (In, Required)

See Also

© 2010 All Rights Reserved.