Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files from any .NET platform (C#, VB.NET, ASP.NET, .NET Core) and Java applications (J2SE and J2EE) with fast and high quality performance.

Mon Jan 31, 2011 10:26 pm

Hi ,

I needs to load HTML file and save as Doc file. i used load method of document class, when i loads HTML file it gives lot of errors.

argent please .

Posts: 2
Joined: Mon Jan 31, 2011 9:05 pm

Wed Feb 02, 2011 4:09 pm

Please try:
Code: Select all
Document document = new Document();
document.LoadFromFile("", FileFormat.Html, XHTMLValidationType.None);
Technical Support / Developer,
e-iceblue Support Team
User avatar

Posts: 180
Joined: Mon Nov 08, 2010 3:11 pm

Tue Nov 11, 2014 9:42 am

There is no FileFormat.Html in Free version? Or am I missing something? Also I get error about LockBytes... When trying to load HTML in from stream and then save it.

Posts: 1
Joined: Tue Nov 11, 2014 4:36 am

Wed Nov 12, 2014 1:22 am


Thanks for your inquiry. Free version doesn't support the feature to convert html to doc, please use the trial version.

If there are any questions, welcome to get it back to us.

E-iceblue support team
User avatar

Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Return to Spire.Doc