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


IKmlConversion.MapToArray Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IK > IKmlConversion Interface > IKmlConversion.MapToArray Method
ArcGIS Developer Help

IKmlConversion.MapToArray Method

Converts Map to KML and outputs a KMZ stream.

[Visual Basic .NET]
Public Function MapToArray ( _
    ByVal pMap As IMap, _
    ByVal pQueryFilter As IQueryFilter, _
    ByVal pKmlParameters As IPropertySet, _
    ByRef pLayerIDs As String _
) As Byte[]
[C#]
public Byte[] MapToArray (
    IMap pMap,
    IQueryFilter pQueryFilter,
    IPropertySet pKmlParameters,
    ref string pLayerIDs
);
[C++]
HRESULT MapToArray(
  IMap* pMap,
  IQueryFilter* pQueryFilter,
  IPropertySet* pKmlParameters,
  System.String* pLayerIDs
);
[C++]
Parameters
pMap [in]

pMap is a parameter of type IMap* pQueryFilter [in]
pQueryFilter is a parameter of type IQueryFilter* pKmlParameters [in]
pKmlParameters is a parameter of type IPropertySet* pLayerIDs [in]
pLayerIDs is a parameter of type BSTR*

Product Availability

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

See Also

IKmlConversion Interface