ArcObjects Library Reference (Carto)  

IKmlConversion.LayerToArray Method

Converts a layer to KML and outputs a KMZ stream.

[Visual Basic .NET]
Public Function LayerToArray ( _
    ByVal pLayer As ILayer, _
    ByVal pQueryFilter As IQueryFilter, _
    ByVal pKmlParameters As IPropertySet _
) As Byte[]
[C#]
public Byte[] LayerToArray (
    ILayer pLayer,
    IQueryFilter pQueryFilter,
    IPropertySet pKmlParameters
);
[C++]
HRESULT LayerToArray(
  ILayer* pLayer,
  IQueryFilter* pQueryFilter,
  IPropertySet* pKmlParameters,
  pData* pData
);
[C++]

Parameters

pLayer [in]

  pLayer is a parameter of type ILayer

pQueryFilter [in]

  pQueryFilter is a parameter of type IQueryFilter

pKmlParameters [in]

  pKmlParameters is a parameter of type IPropertySet

pData [out, retval]   pData is a parameter of type

Product Availability

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

See Also

IKmlConversion Interface