Free Support Forum - aspose.com

Open an html file with Aspose Word stuck

Hi Guys,


I am Trying to load an html file into a word document, but stuck.

the code:

Document doc = new Document(@“C:\Users\z\Desktop\TemFiles\Example.html”, new LoadOptions { LoadFormat = LoadFormat.Html });

I attach the example html file, I hope this help you to identify the issue,

Regards,
Thanks,


Hi Gerardo,


Thanks for your inquiry.

Perhaps you’re using an older version of Aspose.Words; as with Aspose.Words for .NET version 13.2.0, I was unable to reproduce this issue on my side. I would suggest you please upgrade to the latest version of Aspose.Words 13.2.0. You can download it from here:
http://www.aspose.com/community/files/51/.net-components/aspose.words-for-.net/default.aspx

I hope, this helps.

Best regards,

Hi Awais,

As you mention is working fine, Thanks for the quick response,

Regards,
Thanks,

Hi Gerardo,


Thanks for your feedback. Please let us know any time you have any further queries. We are always glad to help you.

Best regards,