combit List & Label 29 - .NET Help
combit.Reporting Namespace / ListLabel Class / DrawProject Event


In This Topic
    DrawProject Event
    In This Topic

    With the help of this event, you can print additional drawings and elements for label and card projects. This allows customized printing. For instance, you can apply a watermark from your product's demo version to each print out.

    Syntax
    'Declaration
     
    
    Public Event DrawProject As DrawProjectHandler
    public event DrawProjectHandler DrawProject
    public:
    event DrawProjectHandler^ DrawProject
    Event Data

    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.

    PropertyDescription

    Internal callback data.

     

    Area in which printing can be executed.

     

    Graphics object. You can draw in the work space using the usual GDI + methods.

     

    Is true if called before drawing the remaining page, else false.

     

    Indicates whether the call is for the designer preview.

     
    Example

    A sample listing can be found at the DrawPage event below.

    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also