Draws a rectangle.

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public void DrawRectangle(
	PdfPen pen,
	PdfBrush brush,
	RectangleF rectangle
)
Public Sub DrawRectangle ( 
	pen As PdfPen,
	brush As PdfBrush,
	rectangle As RectangleF
)
public:
void DrawRectangle(
	PdfPen^ pen, 
	PdfBrush^ brush, 
	RectangleF rectangle
)
member DrawRectangle : 
        pen : PdfPen * 
        brush : PdfBrush * 
        rectangle : RectangleF -> unit 

Parameters

pen
PdfPen
The pen.
brush
PdfBrush
The brush.
rectangle
RectangleF
The rectangle.

See Also