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


ILineDecoration.Element Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Display)  

ILineDecoration.Element Property

The element at the given position.

[Visual Basic .NET]
Public Function get_Element ( _
    ByVal index As Integer _
) As ILineDecorationElement
[C#]
public ILineDecorationElement get_Element (
    int index
);
[C++]
HRESULT get_Element(
  long index,
  ILineDecorationElement** lineDecorationElement
);
[C++]

Parameters index [in]
index is a parameter of type long lineDecorationElement [out, retval]
lineDecorationElement is a parameter of type ILineDecorationElement**

Product Availability

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

Description

Element returns the specified decoration element. Use the ElementCount method to ensure you ask for a valid element.

See Also

ILineDecoration Interface