TextDimensions(string, out x, out y)
Determines the size of the text string that is displayed in isotropic space with the value of font height equal to 1.0. The out argument x returns the width of the minimum rectangle bounding the string. The out argument y returns the height of the minimum rectangle bounding the string. The method takes into account line feed characters. The out arguments are float numbers.