We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Exporting html to word and pdf

I have a web application developed in asp.net and have a export to word button on the web page on clicking of this button I want to export that html page to a properly formatted word or pdf doc
does aspose.words preserve the formatting and alignment of the html page
This message was posted using Aspose.Live 2 Forum

Hello

Thanks for your inquiry. It is extremely difficult and often impossible to produce Word documents (or PDF) which looks exactly as source HTML. This is because HTML documents are not Word documents, HTML is one page document and this format is designed for Web and not for displaying on pages.
Please follow the link to learn more about HTML in Aspose.Words:
http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/html-xhtml-and-mhtml.html


In additional, please attach your HTML document here for testing.

Best regards,