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


pen
Pen object that determines the color, width, and style of the line.
pt1
PointF structure that represents the first point to connect.
pt2
PointF structure that represents the second point to connect.
Draws a line connecting two PointF structures.

Syntax

Visual Basic (Declaration)  
Public Overloads Sub DrawLine( _
   ByVal pen As Pen, _
   ByVal pt1 As PointF, _
   ByVal pt2 As PointF _
) 
Visual Basic (Usage) Copy Code
Dim instance As SvgChartGraphics
Dim pen As Pen
Dim pt1 As PointF
Dim pt2 As PointF
 
instance.DrawLine(pen, pt1, pt2)
C#  
public void DrawLine( 
   Pen pen,
   PointF pt1,
   PointF pt2
)

Parameters

pen
Pen object that determines the color, width, and style of the line.
pt1
PointF structure that represents the first point to connect.
pt2
PointF structure that represents the second point to connect.

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.