title: How to set FormattedText background color in C#
body: <p>Is there a way to set background color for FormattedText in C#? I'm using a it something like this: </p>
  
  <pre><code>var formattedText = new FormattedText(...);
  Point point = new Point(x,y);
  // Draw the text onto a drawing context at specific point position
  dc.DrawText(formattedText, point);
  </code></pre>
  
  <p>I'm trying to change the background color of the formatted text. Otherwise, I have to draw a rectangle behind the text. </p>