Hi,
We are having a problem converting Word document to PNG format. If document contains hidden fields/hyperlinks (our assumption), then Save method never completes.
Code used:
var doc = new Document(“Example.docx”);
for (int i = 0; i <= doc.PageCount - 1; i++)
{
using (var imageStream = new MemoryStream())
{
doc.Save(imageStream, new Aspose.Words.Saving.ImageSaveOptions(Aspose.Words.SaveFormat.Png) { PageIndex = i });
}
}
Archive with erroneous Word document:
Example.zip (15.8 KB)
Could you, please, take a look at this?
Thanks,
Dmitry