在不打开C#.NET中的“打印"对话框的情况下打印输出 [英] Taking printout without opening Print dialog in C#.NET
本文介绍了在不打开C#.NET中的“打印"对话框的情况下打印输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在不打开C#.NET中的打印"对话框的情况下进行打印.
i want to taking printout without opening Print dialog in C#.NET.
推荐答案
如果您不想使用打印"对话框,请不要打开它.有什么问题吗?
如果使用System.Drawing
,请对所有打印工作使用System.Drawing.Printing.PrintDocument
,请参见 http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx [
If you don''t want Print dialog, don''t open it. What''s the problem?
If you useSystem.Drawing
, useSystem.Drawing.Printing.PrintDocument
for all your printing chores, see http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx[^].
—SA
这篇关于在不打开C#.NET中的“打印"对话框的情况下打印输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文