Charting for WinForms Programmer's Guide
GdiGraphics.DrawLine Method (Pen, Point, Point)
See Also
 






Draws a line connecting two Point structures.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

public virtual void DrawLine (
    Pen pen,
    Point pt1,
    Point pt2
)

Visual Basic  Copy Code

Public Overridable Sub DrawLine( _
    pen As Pen, _
    pt1 As Point, _
    pt2 As Point _
)

 Parameters

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

 See Also

DrawLine Method Overload List
GdiGraphics Members
GdiGraphics Class
MindFusion.Drawing Namespace