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

Free Support Forum - aspose.com

Prevent an Inline Image Nested in a Table Cell from Overlapping the Cell Border during DOC to PDF Conversion using C#

KB)
We are facing issue in converting word document to PDF format. Tables containing images is having alignment and border cutting issue. Details is given below. I have tried with latest Aspose.Word.dll(20.3), still issue exists. Please go through it and provide a solution at the earliest.

  1. Please see the attached doc file used for the file merge(ImageDistrotionSampleDoc.doc, TestFile.doc).
  2. Both files merged using the below code and saved as PDF and doc file. Query.jpg
  3. The resulted file(ForAspose.doc, ForAspose.pdf) is having format issues, like the table border is not proper if the table contains images. File is attached with this mail. Issue is highlighted below. Query2.jpg
  4. The resulted file(ForAspose.doc, ForAspose.pdf) is having format issues, like the table border is not proper if the table contains images. File is attached with this mail. Issue is highlighted below.
    Query.png (14.5 KB)
    query 2.png (22.7 KB)

TestFile.zip (605.5 KB)

@K19776,

The third and fourth points you mentioned are same. What we understand is that those images are hiding some part of right border in Aspose.Words generated PDF file (see 20.4.pdf (211.4 KB)). For the sake of correction, we have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-20235. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-20235) have been fixed in this Aspose.Words for .NET 20.7 update and this Aspose.Words for Java 20.7 update.