Dundas Chart for ASP.NET
DrawLine(Pen,Single,Single,Single,Single) Method
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > ChartGraphics Class > DrawLine Method : DrawLine(Pen,Single,Single,Single,Single) Method


pen
x1
y1
x2
y2
Draws a line connecting the two points specified by coordinate pairs.

Syntax

Visual Basic (Declaration)  
Public Overloads Sub DrawLine( _
   ByVal pen As Pen, _
   ByVal x1 As Single, _
   ByVal y1 As Single, _
   ByVal x2 As Single, _
   ByVal y2 As Single _
) 
Visual Basic (Usage) Copy Code
Dim instance As ChartGraphics
Dim pen As Pen
Dim x1 As Single
Dim y1 As Single
Dim x2 As Single
Dim y2 As Single
 
instance.DrawLine(pen, x1, y1, x2, y2)
C#  
public void DrawLine( 
   Pen pen,
   float x1,
   float y1,
   float x2,
   float y2
)

Parameters

pen
x1
y1
x2
y2

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.