Skip to main content
All docs
V22.2

BrickSelector.GetBricksByText(Page, String) Method

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

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(
    Page page,
    string text
)

Parameters

Name Type Description
page Page

The page 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 page.

See Also