We want to handle it from the code. not only for the h1 tag but also each and every tag. Do you have any solution to avoid that kind of page breaks??? If so Could you please help me with the implementation?
Could you please share some more detail about your requirement? What exact you want to achieve using Aspose.PDF APIs? Please also share your expected output PDF.
We have logged your requirement in our issue tracking system as PDFNET-51983. We will implement this feature and inform you via this forum thread when it is available.