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






Draws a line connecting two Point structures.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

void DrawLine (
    Pen pen,
    Point p1,
    Point p2
)

Visual Basic  Copy Code

Sub DrawLine( _
    pen As Pen, _
    p1 As Point, _
    p2 As Point _
)

 Parameters

pen

A Pen object that determines the color, width, and style of the line.

p1

A Point structure that represents the first point to connect.

p2

A Point structure that represents the second point to connect.

 See Also