开发者

How do I detect in C# whether or not a Word instance has the Save as PDF or XPS add-in?

I am using Visual Studio 2010 with Visual Studio Tools for Office installed. I will be interfacing with Word through its PIA. My target Word version is at least 2003. Muhimbi has informed me that Save as PDF isn't available in 2003 so what I would like to do is check if it's available in the version installed (2003 and later) and then decide from the result whether I want to use the开发者_开发知识库 add-in or not. TIA!


The 'Save as PDF' add-in is not available for Word 2003.

You can try and do a conversion and look at the error you get back. You can also try a 3rd party solution that has already done all the hard work.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜