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
rectPdfRectangleA 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
rectPdfRectangleA PdfRectangle structure that represents the rectangle to draw.
modePdfDrawModeThe 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
rectPdfRectangleA PdfRectangle structure that represents the rectangle to draw.
angledoubleThe 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
rectPdfRectangleA PdfRectangle structure that represents the rectangle to draw.
angledoubleThe angle of rotation in degrees.
modePdfDrawModeThe 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.