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


IDynamicDisplay.DrawPolyline Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Display)  

IDynamicDisplay.DrawPolyline Method

Draws specified polyline on the dynamic display.

[Visual Basic .NET]
Public Sub DrawPolyline ( _
    ByVal pointCollection As IPointCollection _
)
[C#]
public void DrawPolyline (
    IPointCollection pointCollection
);
[C++]
HRESULT DrawPolyline(
  IPointCollection* pointCollection
);
[C++]

Parameters pointCollection [in]
pointCollection is a parameter of type IPointCollection

Product Availability

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

Remarks

The lines will be rendered according to the current Dynamic Line Symbol attributes, as described in esriDynamicSymbolType constants.

[C#]

In order to efficiently update your dynamic items, you should keep them in arrays of WKSPoint, and use IGeometryBridge2 interface.

[Visual Basic .NET]

In order to efficiently update your dynamic items, you should keep them in arrays of WKSPoint, and use IGeometryBridge2 interface.

See Also

IDynamicDisplay Interface

.NET Samples

Dynamic biking (Code Files: DynamicBikingCmd)