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


IDynamicDrawScreen.DrawScreenLine Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Display)  

IDynamicDrawScreen.DrawScreenLine Method

Draws a line between the specified points on the screen.

[Visual Basic .NET]
Public Sub DrawScreenLine ( _
    ByVal startPoint As IPoint, _
    ByVal endPoint As IPoint _
)
[C#]
public void DrawScreenLine (
    IPoint startPoint,
    IPoint endPoint
);
[C++]
HRESULT DrawScreenLine(
  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

IDynamicDrawScreen Interface

.NET Snippets

Draw Line on Dynamic Display