Blitz3D Docs -> 2D - A-Z -> S -> StringHeight
StringHeight (string)
Parameters:
string = any valid string or string variableDescription:
This will return the size, in pixels, the height of the indicated string. This is useful for determining screen layout, scrolling of text, and more. This is calculated based on the size of the currently loaded font.Example:
; StringWidth/Height Example a$="Hello Shane!" Print "A$=" + a$ Print "This string is "+ StringWidth(a$) + " pixels wide and" Print "it is " + StringHeight(a$) + " tall, based on the current font!"
Comments
None.
Blitz3D Manual Forum
BlitzPlus Equivalent Command




