CanvasDrawRectangle Method (Pen, RectangleF)ByteScout PDF SDK
Draws a rectangle specified by a System.Drawing.Rectangle structure.

Namespace:  Bytescout.PDF
Assembly:  Bytescout.PDF (in Bytescout.PDF.dll) Version: 1.9.7.331-master
Syntax

public void DrawRectangle(
	Pen pen,
	RectangleF rect
)

Parameters

pen
Type: Bytescout.PDFPen
Bytescout.PDF.Pen that determines the color, width, and style of the rectangle.
rect
Type: System.DrawingRectangleF
A System.Drawing.Rectangle structure that represents the rectangle to draw.
See Also

Reference