WebPlanner Programmer's Guide

GraphicsEx.DrawLine Method (Pen, Point, Point)

See Also
 


Draws a line connecting two points.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Scheduling.Compact

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

Public Sub DrawLine ( _
    pen As Pen, _
    pt1 As Point, _
    pt2 As Point _
)

 Parameters

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

 See Also