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,
	RectangleF rectangle
)
Public Sub DrawRectangle ( 
	pen As PdfPen,
	rectangle As RectangleF
)
public:
void DrawRectangle(
	PdfPen^ pen, 
	RectangleF rectangle
)
member DrawRectangle : 
        pen : PdfPen * 
        rectangle : RectangleF -> unit 

Parameters

pen
PdfPen
The pen.
rectangle
RectangleF
The rectangle.

See Also