I use Aspose.Words for DOCX to PDF Conversion using .NET. It contains some text on the first page and the table on the second. In the table’s Paragraph settings selected “Keep with next” checkbox so that the table started at the second page. When I try to convert the document to pdf using the code below the table moves to the end of the first page. Can you please help on this? The table must be on the second page.
var document = new Aspose.Words.Document("test.docx"); document.Save("test.pdf", Aspose.Words.SaveFormat.Pdf);
I’ve also attached a sample document (all text replaced by x due to confidentiality reasons) and a sample output pdf using Aspose.Words version 21.5. Document created in Microsoft Word 2013.
test.docx (21.1 KB)
test.pdf (26.4 KB)