.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

PdfGraphics.DrawRectangle(Pen, RectangleF) Method

Draws a rectangle specified by a Rectangle structure.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v21.1.Drawing.dll

Declaration

public void DrawRectangle(
    Pen pen,
    RectangleF bounds
)

Parameters

Name Type Description
pen Pen

A Pen object that determines the color, width, and style of the rectangle.

bounds RectangleF

A Rectangle structure that represents the rectangle to draw.

See Also