1. Download PdfToHtml exe file.
2. Then in your website place it in some folder say files.
3. Also place the PDF file in same folder and then use the following code.
Namespace
using System.Diagnostics;
Code
protected void Page_Load(object sender, EventArgs e)
{
ProcessStartInfo start = new ProcessStartInfo();
start.Arguments = Server.MapPath("~/Files/doc.pdf") + " " + Server.MapPath("~/Files/test.html");
start.FileName = Server.MapPath("~/Files/pdftohtml.exe");
start.WindowStyle = ProcessWindowStyle.Hidden;
start.CreateNoWindow = true;
using (Process proc = Process.Start(start))
{
proc.WaitForExit();
}
}