Can I change the 'Printing' dialog box style that ap开发者_运维问答pears when the method PrintDocument.Print is invoked? I need to change title, message, background, OK button...
Is there any way to do this?
I'm afraid not: .NET uses WinAPI calls like printDlg
to show the dialog and it's not customizable. The dialog itself can differ depending on printers installed and some other factors as far as I know. See Extending PrintDialog article for some details.
I found some useful ideas here, with examples of custom PrintController and PrintDialog.
精彩评论