Product: PDFTron .NET x64
Product Version: 9.1.0
How to Show HTML Table Headers on Every Page?
I have a large table in HTML. Whenever I print the HTML, the headers are repeated above the table content on every page.
However, when I convert this to PDF using HTML2PDF, the headers are not repeated and shown only at the top of the table on the first page.
In general, I’ve found that the print media query styles are respected in the conversion, but that these and other elements reproduced on every page in the print view are not displayed the same way within the PDF.
For reference, I am currently configuring HTML2PDF.WebPageSettings.SetPrintMediaType(true).
UPDATE: I did manage to locate this very similar question: How to add repeating table headers with pdftronprivate.PTConvert.ConvertHTMLStringToPDF(). Xamarin ios
I’m guessing that PDFTron utilizes a similar library in Windows. If you guys can help me figure out which one, then I might be in business!