PrintControl.PaintBookmarkArea Event

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

Namespace: DevExpress.XtraPrinting.Control

Assembly: DevExpress.XtraPrinting.v20.1.dll

Declaration

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

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.

See Also