You can use the Graphics.MeasureString () to calculate the string width and how many lines does it need, it's up to the size of your form then