WebPlanner Programmer's Guide

IGraphics.DrawLine Method (Pen, PointF, PointF)

See Also
 


Draws a line connecting two PointF structures.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

Public MustOverride 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