Table of Contents

Method DrawLine

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

DrawLine(XPen, XPoint, XPoint)

Draws a line connecting two XPoint structures.

public void DrawLine(XPen pen, XPoint pt1, XPoint pt2)

Parameters

pen XPen
pt1 XPoint
pt2 XPoint

DrawLine(XPen, double, double, double, double)

Draws a line connecting the two points specified by coordinate pairs.

public void DrawLine(XPen pen, double x1, double y1, double x2, double y2)

Parameters

pen XPen
x1 double
y1 double
x2 double
y2 double