开发者

'Printing' dialog box style

开发者 https://www.devze.com 2023-03-31 22:18 出处:网络
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...

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消