如何在WPF中没有“打印对话框"的情况下直接打印? [英] How to print directly, without Print Dialog in WPF?
本文介绍了如何在WPF中没有“打印对话框"的情况下直接打印?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我只想知道如何在不显示WPF中的打印对话框"的情况下打印流程文档.
I just want to know how I can print a flow document without showing Print Dialog in WPF.
感谢您的帮助……
推荐答案
您可以在不显示对话框的情况下使用PrintDialog类(无需调用ShowModal)
You can use the PrintDialog class without showing the dialog (without calling ShowModal)
这篇关于如何在WPF中没有“打印对话框"的情况下直接打印?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文