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


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

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