Link Search Menu Expand Document

CanvasDrawRectangle Method (Pen, Brush, RectangleF)

Draws a rectangle specified by a System.Drawing.Rectangle structure.

Namespace:Bytescout.PDF
Assembly: Bytescout.PDF (in Bytescout.PDF.dll) Version: 3.5.1.1204-master
Syntax
public void DrawRectangle(
	Pen pen,
	Brush brush,
	RectangleF rect
)

Parameters

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

Reference