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


IGraphicsContainer.DeleteAllElements Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGraphicsContainer Interface > IGraphicsContainer.DeleteAllElements Method
ArcGIS Developer Help

IGraphicsContainer.DeleteAllElements Method

Delete all the elements.

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

Product Availability

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

See Also

IGraphicsContainer Interface

.NET Samples

Extent view