Hi with reference to the below link:
I tried the code below but I am not able to get any result to the HTML file from PDF.
public class pdf2html
{
public static void Getdata()
{
string inputPath = "mytestpdf.pdf";
string outputPath = "pdftest.html";
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.Arguments = string.Format("{0} {1}", inputPath, outputPath);
startInfo.FileName = "pdftohtml.exe";
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
startInfo.CreateNoWindow = true;
//Execute the PdfToHtml exe file.
using (Process process = Process.Start(startInfo))
{
process.WaitForExit();
}
}
}