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

Free Support Forum - aspose.com

Avoiding Page Break

Hi,
We are using Aspose.Words.DLL of version 10.0.0.0 in our application and we need a solution or a suggestion to resolve the following issue.

We would like to keep the bullet-ed list items together and with section heading. i.e., we should not allow a page break within a bullet-ed list. Is there any solution for this? Please refer the attached screen shot and suggest.

Thank You!

Hi Gautham,


Thanks for your inquiry. First off, you’re using a very old version of Aspose.Words, We suggest you please upgrade to the latest version of Aspose.Words (14.5.0) from the following link as it contains many improvements and bug fixes:
http://www.aspose.com/community/files/51/.net-components/aspose.words-for-.net/default.aspx

Pages are created by Microsoft Word on the fly; and if a content does not fit on a Page, it moves it to the next Page. May be you should wrap your list content in invisible border less Table and then use the techniques from here to achieve this. I hope, this helps.

Best regards,