title: convert the contents of word file to JPEG in c#
body: <p>I want to convert the contents of word file [single page] into JPEG file in C#.</p>
  
  <p>Follwing is the code I have tried. But the Clipboard.GetImage() returns a null.</p>
  
  <p>Please help me out. </p>
  
  <pre><code>Microsoft.Office.Interop.Word.Application wordApp = new Microsoft.Office.Interop.Word.Application();
          object fileName = @"C:\Documents and Settings\ErabLK\Desktop\toTest.docx";
          object val = System.Reflection.Missing.Value;
          object falseVal = false;
          Document wordDoc = wordApp.Documents.Open(ref fileName, ref val, ref falseVal, ref val, ref val,
                               ref val, ref val, ref val, ref val, ref val, ref val, ref val, ref val, ref val,
                               ref val, ref val);
  
  
          wordDoc.ActiveWindow.Selection.WholeStory();
          wordDoc.ActiveWindow.Selection.Copy();
          Image img = System.Windows.Forms.Clipboard.GetImage();
  </code></pre>