string strSourcePath = System.Configuration.ConfigurationSettings.AppSettings["SourcePath"];
string strDestinationPath = System.Configuration.ConfigurationSettings.AppSettings["DestinationPath"];
pdftron.PDF.Convert.HTMLOutputOptions o = new pdftron.PDF.Convert.HTMLOutputOptions();
pdftron.PDF.Convert.ToHtml(strSourcePath, strDestinationPath, o);
Is there any way get single HTML file using this tool ?
--------
A:
Another option may be to use a master HTML page and iframes to inject individual HTML pages as show in the following samples:
http://www.pdftron.com/pdfnet/pdf2html/demo/viewer.html?d=/pdf2html/177.progworld&pages=3
http://www.pdftron.com/pdfnet/pdf2html/demo.html
You can generate the master HTML page (that references other HTML pages via iframes) using PDFNet (e.g. to get page # use PDFDoc.GetPageCount() etc).