Difference between revisions of "TextField:getSample"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate>get string that was used as sample for determining line height</translate>
 
<translate>get string that was used as sample for determining line height</translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(string) = TextField:getSample()
 
(string) = TextField:getSample()
 
</source>
 
</source>

Revision as of 15:31, 13 July 2023


Available since: Gideros 2016.08
Class: TextField

Description

get string that was used as sample for determining line height <syntaxhighlight lang="lua"> (string) = TextField:getSample() </source>

Return values

Returns (string) string used as sample