ArcObjects Library Reference (Carto)  

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 Snippets

Delete Graphics Refresh ActiveView | Create Graphic Buffers around Selected Features |

.NET Samples

Geodesy MapControl (Code Files: GeodesyMapControl) |