We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Convert Html to PDF from Asp.net core Web Api

Thread ID:

Created:

Updated:

Platform:

Replies:

147088 Aug 31,2019 07:14 PM UTC May 8,2020 01:41 PM UTC ASP.NET Core - EJ 2 3
loading
Tags: PDF
Neelima
Asked On August 31, 2019 07:14 PM UTC

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.

Surya Kumar [Syncfusion]
Replied On 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 


Madhududana Rao Yarra
Replied On May 7, 2020 09:35 PM UTC

Hi Surya,
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

Sowmiya Loganathan [Syncfusion]
Replied On 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 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon