Skip to main content
A newer version of this page is available. .

PrintControl.ShowBrick(Brick, Page) Method

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

Namespace: DevExpress.XtraPrinting.Control

Assembly: DevExpress.XtraPrinting.v18.2.dll

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowBrick(Brick, Page) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also