You can use the form's/picturebox's TextHeight and TextWidth methods to determine the fontsize you'll need to fit.