[]
        
(Showing Draft Content)

C1.C1Preview.C1MultiDocument.PrintDialog

PrintDialog Method

PrintDialog()

Shows the standard print dialog, allowing the user to print the current document.

Declaration
public bool PrintDialog()
Returns
Type Description
bool

true if the document was printed, false otherwise.

PrintDialog(PrinterSettings, int[], bool)

Shows the standard print dialog, allowing the user to print the current document.

Declaration
public bool PrintDialog(PrinterSettings printerSettings, int[] selectedPageNumbers, bool showProgress)
Parameters
Type Name Description
PrinterSettings printerSettings

The printer settings to use.

int[] selectedPageNumbers

The list of selected page numbers. If this parameter is not null, selection option is enabled in the dialog.

bool showProgress

Indicates whether to show print progress.

Returns
Type Description
bool

true if the document was printed, false otherwise.