Can I use Microsoft Office 2010: Primary Interop Assemblies to convert word,excel to PDF
Can I use Microsoft Office 2010: Prim开发者_JAVA百科ary Interop Assemblies to convert word, excel to PDF? How easy is it? Any C# example?
You can't use the interop assemblies without having office installed as well. Once office is installed it works, but to make it reliable and scalable a lot of work is required, but it is not impossible.
Yes, you can use Document.SaveAs to save as a PDF.
It is un-supported and tricky to do this in a non-interactive (or server side) manner.
精彩评论