Search
IGraphics.DrawLine Method (Pen, Point, Point)
See Also
 





Draws a line connecting two Point structures.

Namespace: MindFusion.Drawing
Package: MindFusion.Common

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

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