PocketPlanner Programmer's Guide

GraphicsEx.DrawLine Method (Pen, Point, Point)

See Also

Draws a line connecting two points.

Namespace: MindFusion.Drawing
Assembly: PocketPlanner

 Syntax

C#

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

Visual Basic

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