Calculating Font Size To Fit Given Display AreaFeb 16, 2012
I know that I can calculate the display area for a given font using
TextRenderer.MeasureText("Text", New Font(Arial, 12.0F)
I want to calculate the size of a font I should be using in order to fit a given display area. Is there a function that allows me to do that?