PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Mar 28, 2024 10:54 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
PostPosted: Tue Jan 29, 2019 12:36 pm 
Offline

Joined: Tue Jan 29, 2019 12:25 pm
Posts: 1
Pdf generation using PDFsharp and below C# code is not getting same output as HTML has, which contain 3 columns in single row. Please check below links to reproduce the scenarios.

C# code - Convert HTML to PDF using HTML Renderer

HTML - https://www.w3schools.com/csSref/tryit. ... lumn-count

PdfSharp.Pdf.PdfDocument pdfs = PdfGenerator.GeneratePdf(File.ReadAllText(myhtml), PdfSharp.PageSize.A3, 15, null, null, imageLoad: OnImageLoad);
pdfs.Save(xmlpath + "ComponentWithPDFsharp.pdf");

Please help on this.


Top
 Profile  
Reply with quote  
PostPosted: Tue Jan 29, 2019 2:38 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3095
Location: Cologne, Germany
You are not using PDFsharp. Sorry, cannot help.

_________________
Regards
Thomas Hoevel
PDFsharp Team


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 130 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