title: How to find string's width in C# (in pixels)
body: <p>I'm trying to achieve framed texts (using Windows Forms), e.g.:</p>
  
  <p><img src="https://i.stack.imgur.com/QYb5N.png" alt="enter image description here"></p>
  
  <p>Height is always the same, because my strings are less than 20 chars. What about width? Is there any way to get it automatically?</p>