Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PrintControl.ShowBrick(Brick, Page) Method

Navigates to the specified brick in a document opened in Print Preview.

Namespace: DevExpress.XtraPrinting.Control

Assembly: DevExpress.XtraPrinting.v24.2.dll

NuGet Package: DevExpress.Win.Printing

#Declaration

public void ShowBrick(
    Brick brick,
    Page page
)

#Parameters

Name Type Description
brick Brick

A Brick object, specifying the brick to navigate to.

page Page

A Page object, specifying the page at which the brick is located. When a brick occupies multiple pages, the focus will move to that part of the brick which is printed on the specified page.

#Remarks

Use the PrintingSystemBase.MarkBrick and PrintingSystemBase.UnmarkBrick methods to draw a rectangle around the located brick.

See Also