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





Draws a line connecting two PointF structures.

Namespace: MindFusion.Drawing
Package: MindFusion.Common

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

Sub DrawLine( _
    pen As Pen, _
    pt1 As PointF, _
    pt2 As PointF _
)

 Parameters

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

 See Also