Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.InsertImage(MyDir + "before.png");
doc.Save(MyDir + "Out.docx");
doc.Save(MyDir + "Out.pdf");
- Please attach your input Word document.
- Please create a standalone/runnable simple application (for example a Console Application Project) that demonstrates the code (Aspose.Words code) you used to generate your output document
- Please attach the output Word/PDF file that shows the undesired behavior.
We were using version 14.1, upgrading to the latest version did it.