PdfCanvas
DrawRectangle Method (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(
PdfBrush brush,
RectangleF rectangle
)
Public Sub DrawRectangle (
brush As PdfBrush,
rectangle As RectangleF
)
public:
void DrawRectangle(
PdfBrush^ brush,
RectangleF rectangle
)
member DrawRectangle :
brush : PdfBrush *
rectangle : RectangleF -> unit
Parameters
-
brush
-
Type:
Spire.Pdf.Graphics
PdfBrush
The brush.
-
rectangle
-
Type:
System.Drawing
RectangleF
The rectangle.
See Also