Draws a rectangle specified by a RectangleF structure.

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

Syntax

C#
public void DrawRectangle(
	RectangleF rect,
	PdfDrawMode mode
)
VB
Public Sub DrawRectangle ( 
	rect As RectangleF,
	mode As PdfDrawMode
)

Parameters

rect
Type: System.Drawing.RectangleF
A RectangleF structure that represents the rectangle to draw.
mode
Type: BitMiracle.Docotic.Pdf.PdfDrawMode
The drawing mode.

Remarks

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

See Also