title: create word document with html content in c#
body: <p>I want to create a word document with html content in c#. But the following code shows the content as a text only not html formating...</p>
  
  <p>Here is my code:</p>
  
  <pre><code>Microsoft.Office.Interop.Word.Application app = new Microsoft.Office.Interop.Word.Application();  
                app.Visible=true;
  
                object template = Missing.Value;
                object newTemplate = Missing.Value;
                object documentType = Missing.Value;
                object visible = true;  //Show the doc while we work.
                _Document doc = app.Documents.Add(ref template,
                         ref newTemplate,
                         ref documentType,
                         ref visible);   
              doc.Words.First.InsertBefore ("&lt;html&gt;&lt;body&gt;HTML content here!&lt;/body&gt;&lt;/html&gt;");
  </code></pre>