PDFsharp & MigraDoc Foundation http://forum.pdfsharp.de/ |
|
I want to display header on every page convert html to pdf http://forum.pdfsharp.de/viewtopic.php?f=2&t=4407 |
Page 1 of 1 |
Author: | t.prabagar@gmail.com [ Mon Dec 26, 2022 10:58 am ] |
Post subject: | I want to display header on every page convert html to pdf |
Hi Thomas/PDF sharp Team, Can you please help me to display header on every PDF page using convert html string input to pdf. 1) I used <Thead></Thead>,<Th></Th> while generate the pdf , the header is coming only first page and i need every page of generated PDF . 2)In CSS: page break i used but not working. sample Html example: string html=@"<table> <tr><td class='TitleTdLine' colspan='7' bgcolor='#D3D3D3'>Feeder Arc Energy:</td></tr> <thead> <tr><th>Feeder</th><th>Available</th><th>PPE</th><th>Ise</th><th>Available</th><th>PPE</th> <th>Comments</th></tr> </thead> <tbody> <tr><td class='TitleTdLine' colspan='7' bgcolor='#D3D3D3'>Substation: </td></tr> </tbody></table>"; C#: using PdfSharp.Pdf; html += "</body></html>"; PdfDocument pdf = PdfGenerator.GeneratePdf(html, PdfSharp.PageSize.Letter); pdf.Save(stream); return stream; If you have any suggestion .Please help! Thanks, Prabagaran |
Author: | TH-Soft [ Wed Dec 28, 2022 4:48 pm ] |
Post subject: | Re: I want to display header on every page convert html to p |
You are not using our library, so we cannot help you. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |