Table of Contents

Method DrawRectangle

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

DrawRectangle(PdfRectangle)

Draws a rectangle specified by a PdfRectangle structure.

public void DrawRectangle(PdfRectangle rect)

Parameters

rect 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.

DrawRectangle(PdfRectangle, PdfDrawMode)

Draws a rectangle specified by a PdfRectangle structure.

public void DrawRectangle(PdfRectangle rect, PdfDrawMode mode)

Parameters

rect PdfRectangle

A PdfRectangle structure that represents the rectangle to draw.

mode PdfDrawMode

The drawing mode.

Remarks

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

DrawRectangle(PdfRectangle, double)

Draws a rotated rectangle specified by a PdfRectangle structure.

public void DrawRectangle(PdfRectangle rect, double angle)

Parameters

rect PdfRectangle

A PdfRectangle structure that represents the rectangle to draw.

angle double

The angle of rotation in degrees.

Remarks

Rectangle gets rotated in a counter-clockwise direction.

This methods draws a non-filled rectangle.

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

DrawRectangle(PdfRectangle, double, PdfDrawMode)

Draws a rotated rectangle specified by a PdfRectangle structure.

public void DrawRectangle(PdfRectangle rect, double angle, PdfDrawMode mode)

Parameters

rect PdfRectangle

A PdfRectangle structure that represents the rectangle to draw.

angle double

The angle of rotation in degrees.

mode PdfDrawMode

The drawing mode.

Remarks

Rectangle gets rotated in a counter-clockwise direction.

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