Word wrap text in autoshape not persisted

Hi Team,
We have requirement like the document is converted into XML them manipulate the XML and then convert it back to DOCX. We are using aspose to do this functionality. Everything is working fine except the “word wrap text in autoshape” . This is not persisted during this transformation. attache dis the sample document.

When we do this using word its retained.Please help us to resolve this

Thanks
Anish

Hi,

I think your query is related to Aspose. Words component, so you have posted the query in the wrong forum. I am moving your thread to the appropriate forum where one our Aspose.Words colleagues will assist you soon there.

Thank you.

Hi Anish,

Thanks for your inquiry. Perhaps, you are using an older version of Aspose.Words; as with Aspose.Words v13.5.0, I am unable to reproduce this problem on my side. I have used the following code snippet to test this issue.

I would suggest you please upgrade to the latest version of Aspose.Words i.e. v13.5.0 and let us know how it goes on your side. I hope, this will help.

MemoryStream stream = new MemoryStream();
Document doc = new Document(MyDir + "sample1.docx");
doc.Save(stream, SaveFormat.WordML);
Document doc2 = new Document(stream);
doc2.Save(MyDir + "out.docx", SaveFormat.Docx);