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


IGlobeDisplayUtil.CreateLayerFromGmxXML Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GlobeCore)  

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,
  IEnumLayer** ppLayers
);
[C++]

Parameters CachePath [in] CachePath is a parameter of type BSTR ppLayers [out, retval]
ppLayers is a parameter of type IEnumLayer

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