gc:getStringHeight

From Inspired-Lua Wiki
Revision as of 16:31, 24 August 2015 by Adriweb (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

gc:getStringWidth is a function that is part of the gc.

Returns a number : the string's height in pixels.

This has been introduced in TI-Nspire OS 3.0 (Changes).


Syntax

gc:getStringHeight(string)

Parameter Type Description
string
string The string you want to get the height of.

Example

height = getStringHeight("hello")

See also