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

PrintControl.PaintBookmarkArea Event

OBSOLETE

The PaintBookmarkArea event is obsolete now. Use the PaintMarkedBricksArea event instead.

Occurs after a selection border has been drawn around an element in Print Preview.

Namespace: DevExpress.XtraPrinting.Control

Assembly: DevExpress.XtraPrinting.v18.2.dll

Declaration

[Obsolete("The PaintBookmarkArea event is obsolete now. Use the PaintMarkedBricksArea event instead.")]
[Browsable(false)]
public event EventHandler<AreaPaintEventArgs> PaintBookmarkArea

Event Data

The PaintBookmarkArea event's data class is AreaPaintEventArgs. The following properties provide information specific to this event:

Property Description
Area Gets the area around the element being painted.
Graphics Gets the drawing surface of the element being painted.

Remarks

Use the PaintBookmarkArea event to customize the selection border drawn around an element that has been found using the Search dialog, or around an element selected via a bookmark.

For a code sample, see the following online example in our Code Central database: How to customize the selection drawn around an element that has been found, or around an element selected via a bookmark.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PaintBookmarkArea event.

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