WKHTMLTOX isn't giving exact HTML output

41 views
Skip to first unread message

Netra

unread,
Sep 29, 2022, 6:56:31 AM9/29/22
to wkhtmltopdf General
Hi,

I am using DinkToPDF wrapper and WKHTMLTOX.dll in .Net Core App. I am facing issue with formatting in exported PDF. I have been trying to align chart but padding, height, margin, chart properties nothing has worked so far. I came across a site "https://www.nrecosite.com/pdf_generator_net.aspx" which is using WKHTML as a wrapper and giving me expected output. Any urgent help is highly appreciated.
Code :
ExportPDFCode.PNG

JSFiddle Link for input html and expected output : 

PDF Output :

PDFOutput.PNG

Thanks,
Netra
Reply all
Reply to author
Forward
0 new messages