A newer version of this page is available. Switch to the current version.

IBrickGraphics.DrawBrick(IBrick, RectangleF) Method

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

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v18.2.dll


IBrick DrawBrick(
    IBrick brick,
    RectangleF rect
Function DrawBrick(
    brick As IBrick,
    rect As RectangleF
) As IBrick


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.

See Also