Free Support Forum -

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?


<?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.

Please let me know in case of any issues.

Best regards.