Free Support Forum -

Convert DOCX into PDF

Good afternoon.

How to convert pdf document identical to the original?

Please see the original and the result in the attachment…

Best regards,

Dmitry Suraev.

Hi Dmitry,

This issue has been logged into our issue tracking system as WORDSNET-12260. We will keep you updated on this issue in this thread.

Best Regards,

Hi Dmitry,

The issue has been analyzed by our product team and most probably it will be closed as not a bug. The reason is that there is an invisible nested table in the third row of your main table. This nested table is not visible in MS Word but it is visible in the output PDF. You can delete this invisible table to produce your expected output e.g.

document.GetChildNodes(NodeType.Table, true)[1].Remove();

If we use MS Word 2013 to convert the same document to PDF, we will see the nested table in the output PDF so Aspose.Words produces correct output and mimics the behavior of MS Word 2013.

Please let us know if you have any concerns.