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


IGlobe.GlobeLayers Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IG > IGlobe Interface > IGlobe.GlobeLayers Property
ArcGIS Developer Help

IGlobe.GlobeLayers Property

The globe layers by UID and internal grouping.

[Visual Basic .NET]
Public Function get_GlobeLayers ( _
    ByVal pUid As UID, _
    ByVal bRecursive As Boolean, _
    ByVal bInBaseGlobe As Boolean, _
    ByVal bSortedByDrawingPriority As Boolean _
) As IEnumLayer
[C#]
public IEnumLayer get_GlobeLayers (
    UID pUid,
    bool bRecursive,
    bool bInBaseGlobe,
    bool bSortedByDrawingPriority
);
[C++]
HRESULT get_GlobeLayers(
  IUID* pUid,
  VARIANT_BOOL bRecursive,
  VARIANT_BOOL bInBaseGlobe,
  VARIANT_BOOL bSortedByDrawingPriority,
  IEnumLayer** ppLayers
);
[C++]
Parameters
pUid [in]

pUid is a parameter of type IUID* bRecursive [in]
bRecursive is a parameter of type bool bInBaseGlobe [in]
bInBaseGlobe is a parameter of type bool bSortedByDrawingPriority [in]
bSortedByDrawingPriority is a parameter of type bool ppLayers [out, retval]
ppLayers is a parameter of type IEnumLayer**

Product Availability

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

Description

Returns layers of the specified type that reside in the globe document.

pUID is the interface identifier (IID) for the desired layer type. For example, the IID for IRasterLayer is
{D02371C7-35F7-11D2-B1F2-00C04F8EDEFF}. This is the value to use when you desire the collection of raster layers in the globe document.

bRecursive indictates whether the contents of group layers should be searched for candidates. Set to TRUE if the contents of group layers should be used, FALSE if not.

bInBaseGlobe is used to make a distinction between layers belonging to the base globe, elevation and draped layers, and those independent of the base globe, the floating layers. Set to TRUE for elevation or draped layers. Set to FALSE to return only floating layers.

bSortedByDrawingPriority controls the return order of draped layers. Set to TRUE if they should be returned based on drawing order, which matches the order of draped layers in the Type tab of the Table of Contents (TOC).

 

See Also

IGlobe Interface