WoW:API FontString GetText: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
({{widgetmethod}})
m (Move page script moved page API FontString GetText to API FontString GetText without leaving a redirect)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{widgetmethod}}
{{widgetmethod}}


<center>'''FontString:GetText''' ''-Documentation by [[user:coder_1024|coder_1024]]-''</center>
Returns the text from any [[UIOBJECT FontString|FontString]] UI object.


  text = <i>FontString</i>:GetText();
  text = ''FontString'':GetText();


Returns the text from any FontString UI object.
== Parameters ==
=== Arguments ===


----
:''none''
;''Arguments''


:<i>none</i>
=== Returns ===


----
:;text : String - The text of the FontString. Returns nil if the FontString is an empty string.
;''Returns''
 
:text
:;text : String - The text of the FontString.

Latest revision as of 04:45, 15 August 2023

Widget API ← FontString < GetText

Returns the text from any FontString UI object.

text = FontString:GetText();

Parameters

Arguments

none

Returns

text
String - The text of the FontString. Returns nil if the FontString is an empty string.