Back to Devexpress

PrintControl.PaintBookmarkArea Event

windowsforms-devexpress-dot-xtraprinting-dot-control-dot-printcontrol-9ee3cfc7.md

latest2.4 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Printing

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("The PaintBookmarkArea event is obsolete now. Use the PaintMarkedBricksArea event instead.")]
public event EventHandler<AreaPaintEventArgs> PaintBookmarkArea
vb
<Obsolete("The PaintBookmarkArea event is obsolete now. Use the PaintMarkedBricksArea event instead.")>
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
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:

PropertyDescription
AreaGets the area around the element being painted.
Cache
GraphicsGets 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.

See Also

PrintControl Class

PrintControl Members

DevExpress.XtraPrinting.Control Namespace