CanvasDrawRectangle Method (Pen, Single, Single, Single, Single)ByteScout PDF SDK
Draws a rectangle specified by a coordinate pair, a width, and a height.

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

public void DrawRectangle(
	Pen pen,
	float left,
	float top,
	float width,
	float height
)

Parameters

pen
Type: Bytescout.PDFPen
Bytescout.PDF.Pen that determines the color, width, and style of the rectangle.
left
Type: SystemSingle
The x-coordinate of the upper-left corner of the rectangle to draw.
top
Type: SystemSingle
The y-coordinate of the upper-left corner of the rectangle to draw.
width
Type: SystemSingle
The width of the rectangle to draw.
height
Type: SystemSingle
The height of the rectangle to draw.
See Also

Reference