Parameters
- showPrintDialog
- If this property is set to True, then a dialog in which the user can set the printer options beforethe document contents are sent to the printer, is displayed.
- showPrintProgressDialog
- If this property is set to True, then a print progress dialog, in which the user can cancel the printing job, is displayed.
- usePrintingThread
- Specifies whether printing should be performed for individual threads or not.
Return Value
Returns
true
if the printing process is successfully initiated; otherwise, returns false
. Note that a return value of true
indicates successful initiation of the print job but does not guarantee its completion.