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

Thanks for your request. I think, you can just using SaveFormat.Doc in this case.
https://reference.aspose.com/words/net/aspose.words/saveformat/
Please let me know in case of any issues.
Best regards.