Skip to main content

IBrickGraphics.DrawBrick(IBrick, RectangleF) Method

If implemented by a class, adds a brick to a report.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core


IBrick DrawBrick(
    IBrick brick,
    RectangleF rect


Name Type Description
brick IBrick

The brick to be added to a report.

rect RectangleF

A RectangleF structure that specifies the location and size of the current brick.


Type Description

The brick added to a report.


Measurement units of the rect region are specified by the class that implements the IBrickGraphics interface.

For instance, by default the BrickGraphics class uses pixels as measurement units. But you can change this using the BrickGraphics.PageUnit property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DrawBrick(IBrick, RectangleF) method.


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