Can I use Microsoft Office 2010: Primary Interop Assemblies to convert word, excel to PDF? How easy is it? Any C# example?
Asked
Active
Viewed 2,453 times
1
-
did you tried this http://msdn.microsoft.com/en-us/library/bb412305.aspx ? – yms May 10 '11 at 00:42
-
Microsoft frowns on such use as they are not scalable. For simple conversions, yes they are great but not for production. – BZ1 May 10 '11 at 04:54
2 Answers
0
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.

Jeroen Ritmeijer
- 2,772
- 3
- 24
- 31
0
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.

Antoine Latter
- 1,545
- 10
- 13