'Declaration
Public Event DrawDesignerObject As DrawDesignerObjectHandler
public event DrawDesignerObjectHandler DrawDesignerObject
public: event DrawDesignerObjectHandler^ DrawDesignerObject
The event handler receives an argument of type DrawDesignerObjectEventArgs containing data related to this event. The following DrawDesignerObjectEventArgs properties provide information specific to this event.
Property | Description |
---|---|
ClipRectangle | Rectangle of the object. |
Graphics | Graphics object of the designer object. You can draw in the work space using the usual GDI + methods. |
IsDesignMode | Returns 'true' if the view in the Designer is 'Layout' or 'Layout Preview'. You can control if only the first page of the Designer object has to be drawn in design mode. If 'false' is returned, it means that you are in print mode and drawing has to be made for the complete Designer object. |
PrintFinished | With this property List & Label is notified that no further data for the Designer object is available for printing and that List & Label is not asking for them anymore by DrawDesignerObject or GetFieldHeightInformation. |
Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9