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


ILineDecoration Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

ILineDecoration Interface

Provides access to members that control the line decoration.

Product Availability

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

Description

ILineDecoration maintains the list of line decoration elements that will be displayed on a line symbol via the ILineProperties interface. Line decorations are elements that are displayed at a particular location a line. You indicate the location you want the element to appear based on the percentage along the line. Thus, a position of 0 would be at the beginning, 1 would be at the end, and 0.5 would be half way.

Members

Description
Method AddElement Adds an element.
Method ClearElements Clears all line decoration elements.
Method DeleteElement Deletes the element at the given index.
Method Draw Draws the given line geometry.
Read-only property Element The element at the given position.
Read-only property ElementCount The number of line decoration elements.
Method MoveElement Moves a line decoration element to the given index.
Method QueryBoundary Queries for the boundary of the given line geometry.

CoClasses that implement ILineDecoration

CoClasses and Classes Description
LineDecoration Places a marker (decoration) at a specific location along a line symbol.

See Also

ILineDecorationElement Interface | ILineDecoration Interface

.NET Samples

ArcGIS Network Analyst extension barrier location editor (Code Files: EditorForm)