Skip to main content
All docs
V24.2

BrickSelector.GetBricks<TBrick>(IEnumerable<Page>) Method

A static method that returns an enumeration of visual brick descendants from document pages.

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.Printing.Core

#Declaration

public static IEnumerable<TBrick> GetBricks<TBrick>(
    IEnumerable<Page> pages
)
    where TBrick : VisualBrick

#Parameters

Name Type Description
pages IEnumerable<Page>

The pages from which to return bricks.

#Type Parameters

Name Description
TBrick

The type of bricks to return.

#Returns

Type Description
IEnumerable<TBrick>

Bricks from the specified pages.

See Also