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


IGraphicsContainer.DeleteElement 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.DeleteElement Method
ArcGIS Developer Help

IGraphicsContainer.DeleteElement Method

Delete the given element.

[Visual Basic .NET]
Public Sub DeleteElement ( _
    ByVal Element As IElement _
)
[C#]
public void DeleteElement (
    IElement Element
);
[C++]
HRESULT DeleteElement(
  IElement* Element
);
[C++]
Parameters
Element [in]

Element is a parameter of type IElement*

Product Availability

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

See Also

IGraphicsContainer Interface

.NET Samples

Move a graphic along a path in ArcMap Update a legend format with SymbologyControl area and line patches