You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Graphics Library > getStringHeight

9.11 getStringHeight

gc:getStringHeight("text")

Returns the pixel height of the text. The pixel height is determined by the font setting previously set by a call to setFont.

Introduced in platform.apiLevel = '1.0'