:::: MENU ::::
Posts tagged with: C#

convert html to pdf using c# asp.net and wkhtmlToPdf

wkhtmlToPdf is a console application which converts any given html or webpage url into PDF.
here i am going to convert a webpage or html code into PDF.in the below class i have overloaded function “Convert” which takes HtmlCode or Uri with wkhtmlToPdf executable path.


You can download a complete working solution here. Fyi, The repository contains WkhtmlPdf Console application as well.