- Home
- Forum
- ASP.NET Core - EJ 2
- Convert Html to PDF from Asp.net core Web Api
Convert Html to PDF from Asp.net core Web Api
Hi Team,
We are looking at using Syncfusion to generate PDF from a styled Html in Asp.net core Web Api. We would also like to fill the Html with dynamic data by executing javascript. Do you have any sample available for this.
SIGN IN To post a reply.
3 Replies
SK
Surya Kumar
Syncfusion Team
September 2, 2019 11:44 AM UTC
Hi Neelima,
Greetings from Syncfusion.
Please find the KB documentation explaining the HTML to PDF in .Net core platform which contains step by step creation process along with sample from below link:
Sample link for your reference:
Regards,
Surya Kumar
MR
Madhududana Rao Yarra
May 7, 2020 09:35 PM UTC
Hi Surya,
Attachment: ProviderSearchHtml_7c4f3df.zip
I am trying to convert attached html to pdf, But it's not working properly.
Can you please help on this.
Thanks
Madhu
Attachment: ProviderSearchHtml_7c4f3df.zip
SL
Sowmiya Loganathan
Syncfusion Team
May 8, 2020 01:41 PM UTC
Hi Madhu,
Thank you for contacting Syncfusion support.
We have checked the reported issue with the provided HTML file in the WebKit HTML converter. We internally make use of Qt WebKit rendering engine for converting HTML to PDF. In the provided HTML file, you are using bootstrap4 styles, but some of the Bootstrap4 styles are not supported in the WebKit rendering engine itself.
The provided HTML file is converted properly in our Blink rendering engine. We have suggested you to try our new Blink based HTML converter to achieve your requirement. Blink converter internally makes use of chromium executable in headless mode for converting HTML to PDF. We have shared the output PDF document (Blink) for your reference,
Kindly refer below link for more information about our Blink converter.
Please let us know if you need any further assistance with this.
Regards,
Sowmiya Loganathan
SIGN IN To post a reply.
- 3 Replies
- 4 Participants
-
NE Neelima
- Aug 31, 2019 07:14 PM UTC
- May 8, 2020 01:41 PM UTC