Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Report Namespace / C1Report Class / Print Method / Print(PrinterSettings,Boolean) Method
The printer settings to use.
Flag indicating whether to show the print progress dialog.

In This Topic
    Print(PrinterSettings,Boolean) Method
    In This Topic
    Prints the current report with specified printer settings, optionally showing the print progress dialog.
    Syntax
    'Declaration
     
    Public Overloads Sub Print( _
       ByVal printerSettings As PrinterSettings, _
       ByVal showProgress As Boolean _
    ) 
    public void Print( 
       PrinterSettings printerSettings,
       bool showProgress
    )

    Parameters

    printerSettings
    The printer settings to use.
    showProgress
    Flag indicating whether to show the print progress dialog.
    Remarks
    This method is a shortcut to the corresponding Print(...) method on the C1Document property of the current report. The report will be rendered if it was not rendered yet.
    See Also