I’m using the latest Aspose.Word 184.108.40.206 to convert a docx file to PDF. The code I used is:
string docFilePath = “try output.docx”;
string pdfFilePath = “try output.pdf”;
var doc = new Aspose.Words.Document(docFilePath);
I have attached the example files “try output.docx” and “try output.pdf”.
As you can see, the docx file has a table with 1 header row and 6 content rows. For some reason, the PDF output inserts page breaks in between every row. This does not happen in Word or when PDF is saved from Word.
Can you please take a look?