ASP.NET Pack Programmer's Guide
GdiGraphics.DrawLine Method (Pen, Single, Single, Single, Single)
See Also
 





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

Namespace: MindFusion.Drawing
Package: MindFusion.Common

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

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

 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