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

Free Support Forum - aspose.com

DOCX to PDF conversion issue with Keep Together and Keep With Next properties of paragraph using .NET

We have another case where pagination options are followed differently in word and the pdf output of Aspose.Words: When a heading has conflicting pagination options (Keep Together and Keep With Next) Word resolves the conflict differently than pdf conversion in Apose.Words does. I have added a sample Word document with it’s corresponding PDF output.
HeadingPaginationExample.zip (27.1 KB)


We have tested the scenario using the latest version of Aspose.Words for .NET 20.2 and have not found the shared issue. So, please use Aspose.Words for .NET 20.2. We have attached the output PDF with this post for your kind reference.
20.1.pdf (18.2 KB)

Thanks, you’re right, this is working with the latest version :slight_smile: