PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / C1MultiDocument 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 print (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 within 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 PrinterSettings, _
       ByVal defaultPageSettings As PageSettings, _
       ByVal outputRange As OutputRange, _
       ByVal showProgress As Boolean _
    ) 

    Parameters

    printerSettings
    The printer settings to use.
    defaultPageSettings
    The default page settings to use.
    outputRange
    The range of pages to print (use null to print all pages).
    showProgress
    Flag indicating whether to show the progress dialog.
    See Also