ActiveReports 14 .NET Edition
GrapeCity.ActiveReports.Document Assembly / GrapeCity.ActiveReports.Extensibility.Printing Namespace / ActiveReportPrintController Class / OnEndPrint Method
A System.Drawing.Printing.PrintDocument that represents the document being printed.
A System.Drawing.Printing.PrintEventArgs that contains data about how to print the document.

In This Topic
    OnEndPrint Method (ActiveReportPrintController)
    In This Topic
    Completes the control sequence that determines when and how to print a document.
    Syntax
    'Declaration
     
    Public Overridable Sub OnEndPrint( _
       ByVal document As PrintDocument, _
       ByVal e As PrintEventArgs _
    ) 
    public virtual void OnEndPrint( 
       PrintDocument document,
       PrintEventArgs e
    )

    Parameters

    document
    A System.Drawing.Printing.PrintDocument that represents the document being printed.
    e
    A System.Drawing.Printing.PrintEventArgs that contains data about how to print the document.
    Exceptions
    ExceptionDescription
    The native Win32 Application Programming Interface (API) could not complete the print job.-or- The native Win32 API could not delete the specified device context (DC).
    See Also