Shows the standard print dialog, allowing the user to print the current document.
Namespace:
C1.C1PreviewAssembly: C1.C1Report.2 (in C1.C1Report.2.dll)
Syntax
C# |
---|
public bool PrintDialog( PrinterSettings printerSettings, int[] selectedPageNumbers, bool showProgress ) |
Visual Basic |
---|
Public Function PrintDialog ( _ printerSettings As PrinterSettings, _ selectedPageNumbers As Integer(), _ showProgress As Boolean _ ) As Boolean |
Parameters
- printerSettings
- Type: System.Drawing.Printing..::..PrinterSettings
The printer settings to use.
- selectedPageNumbers
- Type: array<System..::..Int32>[]()[][]
The list of selected page numbers. If this parameter is not null, selection option is enabled in the dialog.
- showProgress
- Type: System..::..Boolean
Indicates whether to show print progress.