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


IGlobeDisplayUtil.CreateLayerFromGmxXML Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IG > IGlobeDisplayUtil Interface > IGlobeDisplayUtil.CreateLayerFromGmxXML Method
ArcGIS Developer Help

IGlobeDisplayUtil.CreateLayerFromGmxXML Method

Creates the globe layer file for the globe cache given by gmx.xml configuration file.

[Visual Basic .NET]
Public Function CreateLayerFromGmxXML ( _
    ByVal CachePath As String _
) As IEnumLayer
[C#]
public IEnumLayer CreateLayerFromGmxXML (
    string CachePath
);
[C++]
HRESULT CreateLayerFromGmxXML(
  BSTR CachePath
);
[C++]
Parameters
CachePath [in]

CachePath is a parameter of type BSTR

Product Availability

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

Description

Use IGlobeDisplayUtil.CreateLayerFromGmxXML to create a layer file for a globe cache

cachePath - the full path for you data cache. It can include gmx.xml or just full path to the cache path folder.

ppLayers � returns an IEnumLayer. You can use IScene:AddLayers to add the returned layer to the globe.

See Also

IGlobeDisplayUtil Interface