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





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

Namespace: MindFusion.Drawing
Package: MindFusion.Common

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

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
IGraphics Members
IGraphics Interface
MindFusion.Drawing Namespace