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


ILineDecoration.DeleteElement Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IL > ILineDecoration Interface > ILineDecoration.DeleteElement Method
ArcGIS Developer Help

ILineDecoration.DeleteElement Method

Deletes the element at the given index.

[Visual Basic .NET]
Public Sub DeleteElement ( _
    ByVal index As Integer _
)
[C#]
public void DeleteElement (
    int index
);
[C++]
HRESULT DeleteElement(
  long index
);
[C++]
Parameters
index [in]

index is a parameter of type long

Product Availability

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

Description

DeleteElement removes the specified decoration element from the list of decoration elements. Use the ElementCount to ensure you specify an element in range.

See Also

ILineDecoration Interface