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


ILineElement Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

ILineElement Interface

Provides access to members that control the Line element.

Product Availability

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

When To Use

ILineElement is the default interface of the LineElement coclass and is only implemented by that object.

Use this interface when you want to retrieve or set the symbol being used to draw the line element (graphic).

Members

Description
Read/write property Symbol Line symbol this element uses to draw itself.

CoClasses that implement ILineElement

CoClasses and Classes Description
DisplacementLinkElement (esriEditorExt) The Graphic Element to display adjustment links.
LineElement The Graphic Element to display lines.

.NET Snippets

Add Graphic to Map

.NET Samples

3D multipatch examples (Code Files: ElementUtilities) | Visualizing the camera path while animating (Code Files: VisualizeCameraPath) | Custom UI elements using add-ins (Code Files: AddGraphicsTool) | Move a graphic along a path in ArcMap (Code Files: cmdMoveGraphicAlongPath frmCreateGraphicTrackOptions MapGraphicKeyframe MapGraphicTrackExtension) | Creating a toolbar of globe tools (Code Files: PolylineElement) | StreetMap routing (Code Files: RoutingForm) | Create a custom tool (Code Files: DrawGraphicLine)

.NET Related Topics

Create a custom tool