PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / Print Method / Print(PrinterSettings,OutputRange,Boolean) Method
The printer settings to use.
The range of pages to export (use null to export all pages).
Flag indicating whether to show the progress dialog.

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

    Parameters

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