'DeclarationPublic Event DrawProject As DrawProjectHandler
public event DrawProjectHandler DrawProject
public: event DrawProjectHandler^ DrawProject
The event handler receives an argument of type DrawProjectEventArgs containing data related to this event. The following DrawProjectEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| CallbackData | Internal callback data. |
| ClipRectangle | Area in which printing can be executed. |
| Graphics | Graphics object. You can draw in the work space using the usual GDI + methods. |
| IsBeforePaint | Is true if called before drawing the remaining page, else false. |
| IsDesignerPreview | Indicates whether the call is for the designer preview. |
A sample listing can be found at the DrawPage event below.
Platforms: Windows 10 (Version 21H2 - 22H2), Windows 11 (22H2 - 25H2), Windows Server 2016 - 2025
.NET: .NET Framework 4.8, .NET 8, .NET 9, .NET 10