PrintingSystemBase.MarkBrick(Brick, Page) Method
Draws a selection rectangle around the specified brick located on the specified page.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v20.2.Core.dll
NuGet Packages: DevExpress.Printing.Core, DevExpress.WindowsDesktop.Printing.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
brick | Brick | A Brick object representing the brick around which a selection rectangle will be drawn. |
page | Page | A Page object representing the page on which the brick is located. Note that if a brick is split across two or more pages, then only the part of the brick which is located on the specified page will be selected. |
Remarks
Use the PrintingSystemBase.UnmarkBrick method to deselect the specific brick previously selected.
Note
The selection rectangle is shown in the document’s preview only. It doesn’t have any effect when a document is printed or exported.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the MarkBrick(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.