PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Fri Mar 05, 2021 9:41 am

All times are UTC

Forum rules

Please read this before posting on this forum: Forum Rules

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Convert HTML To PDF Help
PostPosted: Wed Oct 14, 2020 10:49 pm 

Joined: Mon Mar 12, 2012 11:20 pm
Posts: 2
Hi Guy, I need help concluding converting HTML invoice to PDF, the output PDF does not carries the items line that are carried in the HTML Invoice, it converts the whole HTML invoice to PDF 75% fine the missing 25% that it does not print the is the items lines, please see attached the Source HTML and the Target output PDF for more detail.

Assembly Used
PDFSharp.dll Version used 1.32.3057.0
PdfSharp.Charting.dll Version used 1.32.3057.0
HtmlRenderer.dll Version
HtmlRenderer.PdfSharp.dll Version

//Sample Code used
PdfDocument pdf = PdfGenerator.GeneratePdf(html, PageSize.A4,20,null,null,null);
//- Create it.
pdf.Save(HttpContext.Current.Server.MapPath("~/export/" + _PDF_FILENAME_TO_CREATE));

Any clue how to fix the problem so the output prints the item lines as well {Description Quantity Unit Price Extended}?


File comment: Target Output PDF after conversion
PDFOutput.JPG [ 68.74 KiB | Viewed 415 times ]
File comment: Source HTML Invoice to convert to PDF
HTMLInvoice.JPG [ 107.51 KiB | Viewed 415 times ]
Reply with quote  
PostPosted: Thu Oct 15, 2020 8:56 am 
PDFsharp Expert
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 625
Location: CCAA
Not a problem of our library. Maybe TheArtOfDev can help.

Best regards
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)

Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 12 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group