Reputation: 383
I'm making a small application to verify whether Word 2003 documents can be converted into PDF format using C#, and I'm using the ExportAsFixedFormat
method. It works in Word 2010. Can anybody help me?
Upvotes: 2
Views: 509
Reputation: 102753
According to the docs, the ExportToFixedFormat
method was added in Word 2007. So I'm betting, no, you can't export a Word 2003 document.
One thing you could try is the Convert
method, which in theory should allow you to convert the 2003 file to 2007 format, then export it to PDF.
Upvotes: 1
Reputation: 10889
It will not work on 2003, as fas as I know, this Option was first introduced in Word 2007.
What you can always try: Install a pdf printer and use c# to "print" this document to this "printer".
Upvotes: 1