Get the height of the string
text | Specify the character string for which you want to obtain the vertical width. |
Returns the vertical width of the specified string in pixels
With this method, you can get the required height when drawing the specified string with this font.