BrickSelector.GetBricksByTag(IEnumerable<Page>, Object) Method
A static method that returns an enumeration of visual bricks with the specified tag from document pages.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v24.2.Core.dll
Declaration
public static IEnumerable<VisualBrick> GetBricksByTag(
IEnumerable<Page> pages,
object tag
)
Parameters
Name | Type | Description |
---|---|---|
pages | IEnumerable<Page> | The pages from which to return bricks. |
tag | Object | The tag value. A brick is returned if its tag value matches the specified value. |
Returns
Type | Description |
---|---|
IEnumerable<VisualBrick> | Bricks from specified pages. |
Remarks
BrickSelector methods can be used to post-process a generated document. The basic idea is to first use the Tag property to tag controls on the report page, and then use the GetBricksByTag
method to find bricks generated by tagged controls on the report page and adjust their size and position.
For more information on document bricks, review the following help topic: Bricks.
See Also