$height
From Scriptwiki
Returns height of text in pixels for the specified font.
$height(text,font,size)
Note: If you use a negative number for the font size, it will match the size of fonts in the font dialog.
Example
$height(Lorem ispum,Arial,12)
Returns 16.
This can be useful if you need to add rows of text in a picture window with previously undetermined font.