Skip to main content
All docs
V25.1
  • 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.v25.1.Core.dll

    NuGet Package: DevExpress.Printing.Core

    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