PrintPreviewDialog PPD=new PrintPreviewDialog ();
PPD. The Document=docToPrint;
If (DialogResult. OK==PPD. ShowDialog ())
DocToPrint. Print ();//print
Saved as a PDF, jump out save window allows you to enter the file name, this time I need to adjust a virtual keyboard to come in, how to deal with?