Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nreco PdfGenrator force new page

Tags:

html

c#

How to force new page with HTML in NReco PdfGenerator with C#?

Maybe specific class or id, like this works for pagination:

<div style='height: 60px;'>Seite <span class='page'></span> von <span class='topage'></span></div>

Thanks.

like image 864
Fribu - Smart Solutions Avatar asked Mar 19 '15 08:03

Fribu - Smart Solutions


1 Answers

Page break may be forced with the following css:

<div style="page-break-after:always"></div>
like image 104
Vitaliy Fedorchenko Avatar answered Oct 24 '22 18:10

Vitaliy Fedorchenko