Aleksandr Azimov

Results 5 comments of Aleksandr Azimov

Any news on this feature? Adding forced page breaks after tables is necessary for my project.

I made my own implementation by cutting big htmls into small ones, creating several pdf files from them and adding pages from these files into 1 pdf. Not an elegant...

``` PdfDocument doc = new PdfDocument(); foreach (NBElement htmlString in arrayOfStrings) { PdfDocument tempDoc = getPdfDocFrom(htmlString.GetString()); addPagesToPdf(ref doc, tempDoc); } ``` ``` private PdfDocument getPdfDocFrom (string htmlString) { PdfGenerateConfig config...

How you cut your html - is up to you.

I told you, make them 2 different html strings: ``` string a = "Page One some text" ``` `string b = "Page Two"` Insert them into some array of strings...