EmptyBrick.UnionRect(Brick) Method
Includes a brick specified via the parameter in the layout rectangle of the previously created EmptyBrick.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v24.1.Core.dll
NuGet Package: DevExpress.Printing.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
brick | Brick | The brick included in the layout rectangle of the previously created EmptyBrick. |
Remarks
Note
Use the BrickGraphics.BeginUnionRect and BrickGraphics.EndUnionRect methods instead.
This method can be used to create an unbreakable group of bricks, i.e. the group whose bounds are not clipped on changing the page margins.
If the layout rectangle of the EmptyBrick already contains at least one brick, layout rectangle borders are resized in order to fit inside the specified brick’s layout rectangle.