Skip to main content
All docs
V22.2

BrickSelector.GetBricksByText(IEnumerable<Page>, String) Method

A static method that returns an enumeration of text bricks with specified text from document pages.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v22.2.Core.dll

NuGet Packages: DevExpress.Printing.Core, DevExpress.Win.Dashboard.Design

Declaration

public static IEnumerable<TextBrick> GetBricksByText(
    IEnumerable<Page> pages,
    string text
)

Parameters

Name Type Description
pages IEnumerable<Page>

A collection of pages from which to return bricks.

text String

The text value. A brick is returned if its text value matches the specified value.

Returns

Type Description
IEnumerable<TextBrick>

Bricks from the specified pages.

See Also