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. Image for the cookie policy date
close icon

How can I convert a HtmlTable Contro to PDF

Hi,
I would like to know if It is possible to convert a control HtmlTable Into PDF document.
I tried to accomplish by using HtmlConverter but it doesn't work.
If it is possible which objects can I use to do that.
Thank you


5 Replies

BP Bhuvaneswari P Syncfusion Team February 18, 2009 07:26 AM UTC

Hi Evariste

Yes, it is possible to convert the HTML table into the PDF document either by passing the html tags or by passing the HTML link in the convertor.


Please have a look into the below article for HTML to PDF conversion with various options with code snippets:

http://www.syncfusion.com/products/PDF/Backoffice/Articles/html_to_pdf.aspx


Please have a look into the sample browser sample from the installed version:
\\Syncfusion\EssentialStudio\x.x.x.x\Windows\Pdf.Windows\Samples\2.0\Importing\HtmlToPdf\CS

If you still facing the same issue, please send us your HTML file to reproduce the issue and investigate further.

Best Regards,
Bhuvana




NR Nicolas Rouget August 29, 2011 04:44 PM UTC

The link is broken, please, can you send us ?



PJ Pravin Joshua D Syncfusion Team August 31, 2011 10:42 AM UTC

Hi Nicolas,

Please refer to the below documentation link to know more about our HTML to PDF converter tool.

http://help.syncfusion.com/ug_93/Reporting/PDF/ASP.NET/default.htm?turl=Documents%2F441htmltopdf.htm

Also, have a look at our online sample for the same in the link below.

http://asp.syncfusion.com/sfaspnetsamplebrowser/9.3.0.61/Web/Pdf.Web/Samples/4.0/Import%20and%20Export/HtmlToPdf/CS/Default.aspx

Please let us know if you have any other questions.

Regards,
Pravin.



SM Suresh M February 9, 2018 04:29 AM UTC

Evaluation



PV Prakash Viswanathan Syncfusion Team February 12, 2018 05:48 AM UTC

Hi Suresh, 

We have checked the links provided in earlier updates are seems to be broken. We can convert HTML to PDF using our WebKit HTML converter. Please refer below links for more information of the converter. 


Latest WebKit HTML converter can be downloaded from below link, 
    
Please let us know if you need any further assistance on this.  

Regards, 
Prakash V 


Loader.
Live Chat Icon For mobile
Up arrow icon