PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Mon Oct 26, 2020 10:03 pm

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 
Offline

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 1.5.0.6
HtmlRenderer.PdfSharp.dll Version 1.5.0.6

//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}?


Thanks


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

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

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


Top
 Profile  
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 16 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:  
cron
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group