This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IG > IGlobeDisplayUtil Interface > IGlobeDisplayUtil.CreateLayerFromGmxXML Method (ArcObjects .NET 10.5 SDK) |
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,
IEnumLayer** ppLayers
);
[C++]
Parameters CachePath [in] CachePath is a parameter of type BSTR ppLayers [out, retval]
ppLayers is a parameter of type IEnumLayer
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.