Hi,
Thanks for your inquiry. While using the latest version of Aspose.Words i.e. 10.8.0, I managed to reproduce this issue on my side. Your request has been linked to the appropriate issues and you will be notified as soon as these are resolved. Sorry for inconvenience.
However, you can use the following code snippet as a temporary work around:
Document docx = new
Document(@"c:\test\Anker.docx");
MemoryStream docStream = new MemoryStream();
docx.Save(docStream, SaveFormat.Doc);
Document doc = new
Document(docStream);
NodeCollection shapes = doc.GetChildNodes(NodeType.Shape, true);
foreach (Shape
shape in shapes)
{
shape.WrapType = WrapType.Inline;
}
doc.Save(@"c:\test\Anker_out.tiff");
I hope, this will help.
Best Regards,
Awais Hafeez
Support Developer
Aspose Sialkot Team
Aspose - Your File Format Experts
Keep in touch! We're on
Twitter and
Facebook