How to create a pagebreak using HTML Renderer with the latest beta version

539 views Asked by At

When a page break is needed I have included

strPDF += "<div style='page-break-inside: auto;'></div>";

I also tried using

 strPDF += "<p style='page-break-inside: always;'></p>";

but this seems not to work.
Here I am using these

https://www.nuget.org/packages/HtmlRenderer.PdfSharp/1.5.1-beta1
https://www.nuget.org/packages/HtmlRenderer.Core/1.5.1-beta1
https://www.nuget.org/packages/PdfSharp/1.51.5185-beta
0

There are 0 answers