ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Viewer.Common Assembly / GrapeCity.Viewer.Common Namespace / IPrintService Interface / Print Method / Print(DocumentModel,ReportModelBase,IApplicationContext,Boolean,Boolean,Boolean) Method
Document model.
Report instance.
Application context.
if true Print Dialog will be shown, otherwise not.
if true Print Progress Dialog will be shown, otherwise not.
if true Printing Thread will be used, otherwise not.

In This Topic
    Print(DocumentModel,ReportModelBase,IApplicationContext,Boolean,Boolean,Boolean) Method
    In This Topic
    Prints the currently opened document(section or page).
    Syntax
    'Declaration
     
    Overloads Function Print( _
       ByVal documentModel As DocumentModel, _
       ByVal reportModel As ReportModelBase, _
       ByVal context As IApplicationContext, _
       ByVal showPrintDialog As Boolean, _
       ByVal showPrintProgressDialog As Boolean, _
       ByVal usePrintingThread As Boolean _
    ) As Boolean

    Parameters

    documentModel
    Document model.
    reportModel
    Report instance.
    context
    Application context.
    showPrintDialog
    if true Print Dialog will be shown, otherwise not.
    showPrintProgressDialog
    if true Print Progress Dialog will be shown, otherwise not.
    usePrintingThread
    if true Printing Thread will be used, otherwise not.
    See Also