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


ILineDecoration.DeleteElement Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Display)  

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