PdfCanvas.DrawRectangle Method (PdfRectangle)

Draws a rectangle specified by a PdfRectangle structure.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public void DrawRectangle(
	PdfRectangle rect
)
VB
Public Sub DrawRectangle ( 
	rect As PdfRectangle
)

Parameters

rect
Type: BitMiracle.Docotic.Pdf.PdfRectangle
A PdfRectangle structure that represents the rectangle to draw.

Remarks

This methods draws a non-filled rectangle.

Please use AppendRectangle() if you want to append a rectangle to the current path.

See Also