PrintControl.ShowBrick(Brick, Page) Method

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

Namespace: DevExpress.XtraPrinting.Control

Assembly: DevExpress.XtraPrinting.v20.1.dll

Declaration

public void ShowBrick(
    Brick brick,
    Page page
)
Public Sub ShowBrick(
    brick As Brick,
    page As 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