Skip to main content
A newer version of this page is available. .
All docs
V20.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.v20.2.Core.dll

NuGet Packages: DevExpress.Printing.Core, DevExpress.WindowsDesktop.Printing.Core

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