Skip to main content
A newer version of this page is available. .
All docs
V20.2

BrickSelector.GetBricksByTag(Document, Object) Method

A static method that returns an enumeration of visual bricks with the specified tag from a document.

Namespace: DevExpress.XtraPrinting

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

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

Declaration

public static IEnumerable<VisualBrick> GetBricksByTag(
    Document document,
    object tag
)

Parameters

Name Type Description
document Document

The document from which to return bricks.

tag Object

The tag value. A brick is returned if its tag value matches the specified value.

Returns

Type Description
IEnumerable<VisualBrick>

Bricks from the specified document.

See Also