title: Automatically resize font size of DataGridView cell text?
body: <p>I have a <code>DataGridView</code> that I use as sort of a graphic for a 2D array.</p>
  
  <p><a href="https://i.stack.imgur.com/u6VM4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u6VM4.png" alt="enter image description here"></a></p>
  
  <p>My issue is that I cannot figure out how, or if it is possible, to automatically scale the text in the cells to the size of the cell.</p>
  
  <p>I have found this <a href="https://stackoverflow.com/a/64167/2985796">SO answer</a> which shows how to change the font of the cell itself, though if I were to take this approach I would have to calculate the proper font size of the text to fit the cell manually. Which is just not worth the effort.</p>
  
  <p>I would have to assume there is a setting in DataGridView to have it automatically scale the cell font size? I cannot seem to find it. </p>