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
NuGet Package: DevExpress.Printing.Core
#Declaration
IBrick DrawBrick(
IBrick brick,
RectangleF rect
)
#Parameters
Name | Type | Description |
---|---|---|
brick | IBrick | The brick to be added to a report. |
rect | Rectangle |
A Rectangle |
#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.
#Related GitHub Examples
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.