Load HTML File and save as Doc

Technical support for Spire.Doc

Moderator: iceblue support

Load HTML File and save as Doc

Postby saminathanb » 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

Re: Load HTML File and save as Doc

Postby harry.support » 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

Re: Load HTML File and save as Doc

Postby arjasepp » 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

Re: Load HTML File and save as Doc

Postby Gary.zhang » 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: 1390
Joined: Thu Apr 04, 2013 1:30 am

Return to Spire.Doc

Who is online

Users browsing this forum: No registered users and 1 guest