From Scriptwiki
Jump to: navigation, search

Returns height of text in pixels for the specified font.


Note: If you use a negative number for the font size, it will match the size of fonts in the font dialog.


$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.

See Also