Hello,
I use the following code to convert a .docx to PDF FIle:
//Licencing Aspose Words before
Aspose.Words.Document doc = new Aspose.Words.Document(input);
PdfSaveOptions option = new PdfSaveOptions();
doc.Save(output, option);
I will attach the docx file and the resulting pdf. I use Aspose.Words Version 23.9.
As you can see within the result pdf, the last topic at the end of page one starting with “§ 5” should begin at page two as in the original docx
Thank you very much for your support.
Best regards,
Fabian
testDoc.zip (70.9 KB)