Skip to main content
All docs
V24.2

BrickSelector.GetBricksByText(Document, String) Method

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

Namespace: DevExpress.XtraPrinting

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

Declaration

public static IEnumerable<TextBrick> GetBricksByText(
    Document document,
    string text
)

Parameters

Name Type Description
document Document

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

See Also