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
PdfRectangleA 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
PdfRectangleA PdfRectangle structure that represents the rectangle to draw.
mode
PdfDrawModeThe 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
PdfRectangleA PdfRectangle structure that represents the rectangle to draw.
angle
doubleThe 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
PdfRectangleA PdfRectangle structure that represents the rectangle to draw.
angle
doubleThe angle of rotation in degrees.
mode
PdfDrawModeThe 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.