word2007 to word2003

Technical support for Spire.Doc

Moderator: iceblue support

word2007 to word2003

Postby tom » Mon Jan 17, 2011 10:12 am

One of my friend give me a file in word2007, but the version of the word in my computer is word2003. When I launch it, it appears many messy codes. May I convert word2007 to word2003 via Spire.Doc?
tom
 
Posts: 14
Joined: Tue Nov 30, 2010 7:21 am

Re: word2007 to word2003

Postby iceblue support » Mon Jan 17, 2011 11:10 am

Of course you can convert word2007 to word2003, but it will lose the new function or format in word2007.
You can use the following code:
Document document = new Document("the path of your word2007.doc");
document.Document.Properties.Version = DocumentVersion.Word2003;
document.SaveToFile("word2003",FileFormat.Doc);
e-iceblue support
User avatar
iceblue support
 
Posts: 244
Joined: Tue Dec 21, 2010 2:56 am


Return to Spire.Doc

Who is online

Users browsing this forum: No registered users and 0 guests