本文介绍了使用C#在Asp.Net中打印按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我需要从项目文件夹中打印.docx / .pdf。 我试过下面的代码,但没有运气。 ProcessStartInfo info = new ProcessStartInfo(path); info.Verb =打印; info.CreateNoWindow = true; info.WindowStyle = ProcessWindowStyle.Hidden; Process.Start (info); 请建议我继续操作。 谢谢和问候, Pand。Hi,I need to print a .docx/.pdf from the project folder.I tried with the below code but no luck.ProcessStartInfo info = new ProcessStartInfo(path);info.Verb = "Print";info.CreateNoWindow = true;info.WindowStyle = ProcessWindowStyle.Hidden;Process.Start(info);Please suggest me how to proceed.Thanks&Regards,Pand.推荐答案 这篇关于使用C#在Asp.Net中打印按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-15 11:18