'Declaration Public Overloads Function Print( _ ByVal showPrintDialog As Boolean, _ ByVal showPrintProgressDialog As Boolean _ ) As Boolean
public bool Print( bool showPrintDialog, bool showPrintProgressDialog )
Parameters
- showPrintDialog
- Specifies whether or not the Print dialog should be shown.
- showPrintProgressDialog
- Specifies whether or not the PrintProgress dialog should be shown.
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.