Difference between revisions of "gc:getStringWidth"
Jump to navigation
Jump to search
(Created page with "gc:'''getStringWidth''' is a function that is part of the gc. Returns a number : the string's width in pixels. {{Since|3.0}} == Syntax == gc:'''getStringWidt...") |
|||
Line 17: | Line 17: | ||
== Example == | == Example == | ||
− | <syntaxhighlight>width = gc:getStringWidth("hello") | + | <syntaxhighlight>width = gc:getStringWidth("hello")</syntaxhighlight> |
== See also == | == See also == |
Revision as of 14:01, 11 July 2011
gc:getStringWidth is a function that is part of the gc.
Returns a number : the string's width in pixels.
This has been introduced in TI-Nspire OS 3.0 (Changes).
Syntax
gc:getStringWidth(string)
Parameter | Type | Description |
---|---|---|
string | The string you want to have the width of. |
Example
width = gc:getStringWidth("hello")
See also