Hi,
I have to convert doc/pdf file to html file when doc/pdf file is uploaded in webpage.
how to do this.
Thanks
Hi,
I have to convert doc/pdf file to html file when doc/pdf file is uploaded in webpage.
how to do this.
Thanks
you could use UNO API from OpenOffice
or any other external program like doc2html etc …
Hi,
Thanks for reply
But how to integrate it with a web page
The following code example demonstrates how to convert PDF files into html using above method.
using RasterEdge.Imaging.Basic;
using RasterEdge.Imaging.Basic.Core;
using RasterEdge.Imaging.Basic.Codec;
using RasterEdge.Imaging.PDF;
using System.Diagnostics;
namespace RE__Test
{
public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();
    }
    private void button1_Click(object sender, EventArgs e)
    {
        RasterEdgeImaging PDF = new RasterEdgeImaging();
        public void ConvertPdftoHtml();
        {
        PDFInputFile = (@"C:/1.pdf");
        PDFPageNumber = "1";
        HTMLOutputFile = OutputFormat.html;
        }
        PDF.Save("OutputFormat.html", SaveFormat.Html);
    }
}
}