Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

PdfGraphics.DrawRectangle(Pen, RectangleF) Method

Draws a rectangle specified by a Rectangle structure.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v19.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