Free Support Forum - aspose.com

Upgrading older code - what to do with SaveFormat.FormatDocument?

I am upgrading some older code to the latest version of Aspose.Words. I have several lines that say something like:

doc.Save(outStream, SaveFormat.FormatDocument);

These are failing on the FormatDocument part, since that is no longer an option.

What does that translate to? A *.doc? A *.pdf?

Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. I think, you can just using SaveFormat.Doc in this case.

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net-and-java/aspose.words.saveformat.html

Please let me know in case of any issues.

Best regards.