ComponentOne AutoComplete for ASP.NET Web Forms
C1.C1Report.4 Assembly / C1.C1Report Namespace / C1Report Class / Print Method / Print(PrinterSettings,PageSettings,OutputRange,Boolean) Method
The printer settings to use.
The default page settings to use.
The range of pages to export (use null to print all pages).
Flag indicating whether to show the progress dialog.

In This Topic
    Print(PrinterSettings,PageSettings,OutputRange,Boolean) Method
    In This Topic
    Prints a range of pages of the current document with specified printer and default page settings, optionally showing the print progress dialog.
    Syntax
    'Declaration
     
    Public Overloads Sub Print( _
       ByVal printerSettings As System.Drawing.Printing.PrinterSettings, _
       ByVal defaultPageSettings As System.Drawing.Printing.PageSettings, _
       ByVal outputRange As OutputRange, _
       ByVal showProgress As System.Boolean _
    ) 
    public void Print( 
       System.Drawing.Printing.PrinterSettings printerSettings,
       System.Drawing.Printing.PageSettings defaultPageSettings,
       OutputRange outputRange,
       System.bool showProgress
    )

    Parameters

    printerSettings
    The printer settings to use.
    defaultPageSettings
    The default page settings to use.
    outputRange
    The range of pages to export (use null to print all pages).
    showProgress
    Flag indicating whether to show the 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