Skip to main content

PrintControl.ShowBrick(Brick, Page) Method

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

Namespace: DevExpress.XtraPrinting.Control

Assembly: DevExpress.XtraPrinting.v23.2.dll

NuGet Packages: DevExpress.Win.Navigation, 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