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


ILineDecorationElement.AddPosition Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Display)  

ILineDecorationElement.AddPosition Method

Adds a position.

[Visual Basic .NET]
Public Sub AddPosition ( _
    ByVal elementPosition As Double _
)
[C#]
public void AddPosition (
    double elementPosition
);
[C++]
HRESULT AddPosition(
  double elementPosition
);
[C++]

Parameters elementPosition [in] elementPosition is a parameter of type double

Product Availability

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

Description

AddPosition adds a position where the line decoration element will be drawn. Values between 0 and 1 are valid. 0 indicates the beginning of the line and 1 indicates the end. Intervening values, like 0.25 indicate the percentage along the line that the decoration element will be drawn.

See Also

ILineDecorationElement Interface