ActiveReports 8
DrawLine Method
See Also 
GrapeCity.ActiveReports.Extensibility.v8 Assembly > GrapeCity.ActiveReports.Extensibility.Rendering.Drawing Namespace > IDrawingCanvas Interface : DrawLine Method

pen
PenEx that determines the color, width, and style of the line.
from
PointFEx structure that represents the first point to connect.
to
PointFEx structure that represents the second point to connect.

Glossary Item Box

Draws a line connecting two PointF structures.

Syntax

Visual Basic (Declaration) 
Sub DrawLine( _
   ByVal pen As PenEx, _
   ByVal from As PointFEx, _
   ByVal to As PointFEx _
) 
C# 
void DrawLine( 
   PenEx pen,
   PointFEx from,
   PointFEx to
)

Parameters

pen
PenEx that determines the color, width, and style of the line.
from
PointFEx structure that represents the first point to connect.
to
PointFEx structure that represents the second point to connect.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also