This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > ArcGlobe > ESRI.ArcGIS.ArcGlobe > Interfaces > IG > IGMxDocument Interface > IGMxDocument.RemoveAllLayers Method (ArcObjects .NET 10.4 SDK) |
Removes all layers.
[Visual Basic .NET]
Public Sub RemoveAllLayers ( _
)
[C#] public void RemoveAllLayers ( );
RemoveAllLayers deletes all the layers present in the Table Of Contents of the current ArcGlobe document and therefore, should be carefully used.