IBrickGraphics.DrawBrick(IBrick, RectangleF) Method

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

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v20.1.dll

Declaration

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

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.

See Also