We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Table Rescaling During DocX to Png Conversion


during the conversion from docx to png using Aspose.Words .NET 11.10.0, the table inside the document is rescaled. It seems to have something todo with the text before the table. When its (partly) removed, it work. The issue does not occur during docx to docx conversion.

The code used for conversion:

Document wordDocument = new Document(filename);
ImageSaveOptions imageSaveOptions = new ImageSaveOptions(SaveFormat.Png){
PageIndex = 0,
PageCount = 1,
Resolution = 30

wordDocument.Save("c:/myFolder/result.png", imageSaveOptions);
wordDocument.Save("c:/myFolder/result.docx", SaveFormat.DocxSaveFormat.Docx);

Any idea why this is happening to the document ?

Thanks for the support,

Hi Oliver,

Thanks for your inquiry.

While using the latest version of Aspose.Words i.e. 11.10.0, I managed to reproduce this issue on my side. I have logged this issue in our bug tracking system. The issue ID is WORDSNET-7496. Your request has also been linked to this issue and you will be notified as soon as it is resolved.

Sorry for the inconvenience.

Best regards,

The issues you have found earlier (filed as WORDSNET-7496) have been fixed in this .NET update and this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.