Draws a rectangle.
Namespace: Spire.Pdf.GraphicsAssembly: 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, float x, float y, float width, float height )
Public Sub DrawRectangle ( pen As PdfPen, x As Single, y As Single, width As Single, height As Single )
public: void DrawRectangle( PdfPen^ pen, float x, float y, float width, float height )
member DrawRectangle : pen : PdfPen * x : float32 * y : float32 * width : float32 * height : float32 -> unit