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


IScene.ClearLayers Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (3DAnalyst)  

IScene.ClearLayers Method

Removes all layers from the scene.

[Visual Basic .NET]
Public Sub ClearLayers ( _
)
[C#]
public void ClearLayers (
);
[C++]
HRESULT ClearLayers(
void
);

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

See Also

IScene Interface