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.2.Core.dll

Declaration

IBrick DrawBrick(
    IBrick brick,
    RectangleF rect
)

Parameters

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.

Returns

Type Description
IBrick

The brick added to a report.

Remarks

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.

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