title: Highlight all occurrences of a string in Word using VSTO
body: <p>I would like to highlight all occurrences of a given string in Microsoft Word 2010 using VSTO. </p>
  
  <p>So far, I've managed to set the foreground color for the matches using the <code>Find</code> facility:</p>
  
  <pre><code>Word.Find find = Application.ActiveDocument.Content.Find;
  find.Replacement.Font.ColorIndexBi = Word.WdColorIndex.wdYellow;
  find.Execute(FindText: "dog", MatchCase: false, Replace: Word.WdReplace.wdReplaceAll);
  </code></pre>
  
  <p>However, I would like to set the highlight for the matches, such as in the screenshot below:</p>
  
  <p><img src="https://i.stack.imgur.com/jncKQ.png" alt="highlight word"></p>