This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDynamicDisplay Interface > IDynamicDisplay.DrawLine Method (ArcObjects .NET 10.4 SDK) |
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
The line will be rendered according to the current Dynamic Line Symbol attributes, as described in esriDynamicSymbolType constants.