.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
Box

PageCanvas.DrawLine Method

Name Parameters Description
DrawLine(RichEditPenBase, Int32, Int32, Int32, Int32) pen, x1, y1, x2, y2

Draws a custom line.

DrawLine(RichEditPenBase, Int32, Int32, Int32, Int32, DocumentLayoutUnit) pen, x1, y1, x2, y2, unit

Draws a custom line.

DrawLine(RichEditPenBase, Point, Point) pen, point1, point2

Draws a custom line.

DrawLine(RichEditPenBase, Point, Point, DocumentLayoutUnit) pen, point1, point2, unit

Draws a custom line.