Convert to DOCX & Avoid Not Supported Method Exception when Calling Document Save | C# .NET

Hi,

I am facing the following issue: when I want to save a document to a stream, Not supported method exception is thrown (Aspose.Words v21.2.0)

code snippet:

Aspose.Words.DocumentBuilder documentBuilder = new Aspose.Words.DocumentBuilder();

documentBuilder.InsertImage(CreateSvgDocument().Draw(), -1, -1);
documentBuilder.Document.Save(outputStream, Aspose.Words.SaveFormat.Docx);

It worked fine with previous version (v15.10.0).

Could you please help me what did I miss?

@ZsoltKorosi,

Please upgrade to the latest (21.8) version of Aspose.Words for .NET and see how it goes on your end? In case the problem still remains, then please also create a standalone simplified Console Application (source code without compilation errors) that helps us to reproduce this exception on our end and attach it here for testing. Please also provide related image file used by the app. Please do not include Aspose.Words DLL files in it to reduce the file size. We will then investigate the issue on our end and provide you more information.