MindFusion.Charting for WebForms Programmer's Guide
GdiGraphics.DrawLine Method (Pen, Int32, Int32, Int32, Int32)
See Also
 



Draws a line connecting the two points specified by coordinate pairs.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

public virtual void DrawLine (
    Pen pen,
    int x1,
    int y1,
    int x2,
    int y2
)

Visual Basic  Copy Code

Public Overridable Sub DrawLine( _
    pen As Pen, _
    x1 As Integer, _
    y1 As Integer, _
    x2 As Integer, _
    y2 As Integer _
)

 Parameters

pen
A .NET Pen object that determines the color, width, and style of the line.
x1
The x-coordinate of the first point.
y1
The y-coordinate of the first point.
x2
The x-coordinate of the second point.
y2
The y-coordinate of the second point.

 See Also

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