Back to Devexpress

PrintControl.ShowBrick(Brick, Page) Method

windowsforms-devexpress-dot-xtraprinting-dot-control-dot-printcontrol-dot-showbrick-x28-devexpress-dot-xtraprinting-dot-brick-devexpress-dot-xtraprinting-dot-page-x29.md

latest2.4 KB
Original Source

PrintControl.ShowBrick(Brick, Page) Method

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

Namespace : DevExpress.XtraPrinting.Control

Assembly : DevExpress.XtraPrinting.v25.2.dll

NuGet Package : DevExpress.Win.Printing

Declaration

csharp
public void ShowBrick(
    Brick brick,
    Page page
)
vb
Public Sub ShowBrick(
    brick As Brick,
    page As Page
)

Parameters

NameTypeDescription
brickBrick

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

MarkBrick(Brick, Page)

UnmarkBrick(Brick, Page)

PrintControl Class

PrintControl Members

DevExpress.XtraPrinting.Control Namespace