Skip to main content
A newer version of this page is available. .
.NET Standard 2.0+

PdfGraphics.FillRectangle(Brush, RectangleF) Method

Fills the interior of a rectangle specified by a RectangleF structure.

Namespace: DevExpress.Pdf

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

Declaration

public void FillRectangle(
    Brush brush,
    RectangleF bounds
)

Parameters

Name Type Description
brush Brush

A Brush object which represents the brush used to fill the rectangle.

bounds RectangleF

A RectangleF structure representing the rectangle bounds to fill.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FillRectangle(Brush, RectangleF) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also