0

I have the HTML file Template which i need to read into HTMLDocument Object to modify the HTML Body.

I am unable to Load the HTMLString content into the HTMLDocument. any point with sample C# code would very helpful.

Thanks in advance for all your response.

user1335978
  • 193
  • 4
  • 13

1 Answers1

0

I think this StackOverflow discussion will help you. You can find two ways to solve your problem:


  HTMLDocument doc = new HTMLDocument();
  IHTMLDocument2 doc2 = (IHTMLDocument2)doc;    

  doc2.write(fileText);
Community
  • 1
  • 1
Elo
  • 2,234
  • 22
  • 28