How to convert PDF into HTML

Can any 1 suggest, how to convert PDF into HTML using aspose.

Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for considering Aspose.Pdf for .NET.

Please see the following documentation link regarding HTML to PDF conversion.

How to – Convert HTML to PDF using InLineHTML approach

Please feel free to contact support in case you have any further queries.

Thank You & Best Regards,

Hi Nausherwan Aslam,



thanks for your reply, but i m looking for PDF to HTML conversion.

Nausherwan, Can you provide me the code to do this conversion.
“PDF to HTML”

Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Sorry for the mis-understanding.

Please see the following sample code regarding PDF to HTML conversion.

Aspose.Pdf.Document pdfDocument = new Aspose.Pdf.Document("input.pdf");

pdfDocument.Save("output.html", SaveFormat.Html);

Sorry for the inconvenience,

Its ok bro, but this method fails for me.

Actually I have a pdf form with some functionality of filling data/validations and on clicking submit button pdf submit data to a web service. but all des functionaries are
breaking on pdf to html conversion.

please clarify whether it can be resolved or not.

thanks for your response :slight_smile:

Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Please share the PDF file which is causing the problem at your end while conversion to HTML. We will look into it and get back to you soon.

Sorry for the inconvenience,