如何在C#.Net(窗口应用程序)中打印文件(Excel/PDF文件) [英] how to print Files (Excels/ PDF files) in C#.Net (Window Applications)
本文介绍了如何在C#.Net(窗口应用程序)中打印文件(Excel/PDF文件)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想打印文件,无论是Excel文件还是PDF文件,我都希望执行相同的代码以打印Excel文件/PDF文件
任何人都可以帮助打印此文件..
i want to print files whether it can be Excel file or it can be PDF files,i want to excute same code to Print Excel files / PDF files
can anyone help to print this files..
推荐答案
可能是您想要的.
http://msdn.microsoft.com /en-us/library/system.drawing.printing.printdocument.print(v=vs.90).aspx [
May be this u want.
http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.print(v=vs.90).aspx[^]
这篇关于如何在C#.Net(窗口应用程序)中打印文件(Excel/PDF文件)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文