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


IDynamicDisplay.DrawLine Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDynamicDisplay Interface > IDynamicDisplay.DrawLine Method
ArcGIS Developer Help

IDynamicDisplay.DrawLine Method

Draws a line between the specified points on the dynamic display.

[Visual Basic .NET]
Public Sub DrawLine ( _
    ByVal startPoint As IPoint, _
    ByVal endPoint As IPoint _
)
[C#]
public void DrawLine (
    IPoint startPoint,
    IPoint endPoint
);
[C++]
HRESULT DrawLine(
  IPoint* startPoint,
  IPoint* endPoint
);
[C++]
Parameters
startPoint [in]

startPoint is a parameter of type IPoint* endPoint [in]
endPoint is a parameter of type IPoint*

Product Availability

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

Remarks

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

See Also

IDynamicDisplay Interface