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

PageCanvas.DrawRectangle Method

Name Parameters Description
DrawRectangle(RichEditPenBase, Int32, Int32, Int32, Int32) pen, x, y, width, height

Draws a custom rectangle.

DrawRectangle(RichEditPenBase, Int32, Int32, Int32, Int32, DocumentLayoutUnit) pen, x, y, width, height, unit

Draws a custom rectangle.

DrawRectangle(RichEditPenBase, Rectangle) pen, bounds

Draws a custom rectangle.

DrawRectangle(RichEditPenBase, Rectangle, DocumentLayoutUnit) pen, bounds, unit

Draws a custom rectangle.