Parameters
- text
- A text of string to measure.
- font
- The font, which should be used for measuring text.
Return Value
Returns a System.Drawing.SizeF structure that represents the size of the string specified by the text parameter as drawn with this font.