PdfCanvas
DrawRectangle Method (PdfPen, PdfBrush, RectangleF)
|
Draws a rectangle.
Namespace:
Spire.Pdf.Graphics
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
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
-
Type:
Spire.Pdf.Graphics
PdfPen
The pen.
-
brush
-
Type:
Spire.Pdf.Graphics
PdfBrush
The brush.
-
rectangle
-
Type:
System.Drawing
RectangleF
The rectangle.
See Also