Skip to main content
All docs
V23.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.v23.2.Core.dll

NuGet Package: DevExpress.Printing.Core

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