PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / C1MultiDocument Class / ItemGenerated Event

In This Topic
    ItemGenerated Event
    In This Topic
    Occurs when the generation of a document associated with a C1MultiDocumentItem has completed. On some systems garbage collection does not always work correctly without explicit calls to GC. Use this event to call GC.Collect() to ensure that multi-document generation does not cause an out of memory exception.
    Syntax
    'Declaration
     
    Public Event ItemGenerated As MultiDocumentItemEventHandler
    public event MultiDocumentItemEventHandler ItemGenerated
    Event Data

    The event handler receives an argument of type MultiDocumentItemEventArgs containing data related to this event. The following MultiDocumentItemEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets the C1MultiDocumentItem object associated with this event.  
    See Also