<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://addonstudio.org/mw1/index.php?action=history&amp;feed=atom&amp;title=WoW%3AAPI_FontString_GetStringHeight</id>
	<title>WoW:API FontString GetStringHeight - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://addonstudio.org/mw1/index.php?action=history&amp;feed=atom&amp;title=WoW%3AAPI_FontString_GetStringHeight"/>
	<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=WoW:API_FontString_GetStringHeight&amp;action=history"/>
	<updated>2026-06-03T17:59:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://addonstudio.org/mw1/index.php?title=WoW:API_FontString_GetStringHeight&amp;diff=19710&amp;oldid=prev</id>
		<title>Move page script: Move page script moved page API FontString GetStringHeight to WoW:API FontString GetStringHeight without leaving a redirect</title>
		<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=WoW:API_FontString_GetStringHeight&amp;diff=19710&amp;oldid=prev"/>
		<updated>2023-08-15T04:45:31Z</updated>

		<summary type="html">&lt;p&gt;Move page script moved page &lt;a href=&quot;/wiki/WoW:API_FontString_GetStringHeight&quot; title=&quot;WoW:API FontString GetStringHeight&quot;&gt;API FontString GetStringHeight&lt;/a&gt; to &lt;a href=&quot;/wiki/WoW:API_FontString_GetStringHeight&quot; title=&quot;WoW:API FontString GetStringHeight&quot;&gt;API FontString GetStringHeight&lt;/a&gt; without leaving a redirect&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:45, 15 August 2023&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key addonstu_asmw2:diff::1.12:old-19709:rev-19710 --&gt;
&lt;/table&gt;</summary>
		<author><name>Move page script</name></author>
	</entry>
	<entry>
		<id>https://addonstudio.org/mw1/index.php?title=WoW:API_FontString_GetStringHeight&amp;diff=19709&amp;oldid=prev</id>
		<title>WoWWiki&gt;DrDoom: Page creation w/notes</title>
		<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=WoW:API_FontString_GetStringHeight&amp;diff=19709&amp;oldid=prev"/>
		<updated>2010-03-14T22:55:51Z</updated>

		<summary type="html">&lt;p&gt;Page creation w/notes&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{widgetmethod}}&lt;br /&gt;
&lt;br /&gt;
Returns how tall the string would be, in pixels, without wrapping:&lt;br /&gt;
 Height= MyFontString:GetStringHeight();&lt;br /&gt;
&lt;br /&gt;
== Note ==&lt;br /&gt;
&lt;br /&gt;
* The height of the text will take into account manually set line breaks (&amp;quot;\n&amp;quot; characters).&lt;br /&gt;
* This does not necessarily correlate with the height of the FontString object, see the [[UIOBJECT FontString|FontString object information]] for details.&lt;br /&gt;
* If you want to use this to set the height of a FontString object after setting its text, you will need to make sure the initial size of the FontString object is big enough to allow the text.  EXAMPLE: If the object will fit 2 lines, and you set the text to a 4 line string, the string will be truncated with &amp;quot;...&amp;quot; when it is set by SetText(), and this function will return the height of 2 lines of text instead of 4.&lt;br /&gt;
&lt;br /&gt;
 MyFrameText:SetHeight(1000); -- Arbitrary number, this is about 83 lines of text, assuming ~12 pixels each&lt;br /&gt;
 MyFrameText:SetText(&amp;quot;This\nIs\Four\nLines&amp;quot;);&lt;br /&gt;
 MyFrameText:SetHeight(MyFrameText:GetStringHeight());&lt;br /&gt;
 print(MyFrameText:GetHeight(); -- We will see that the new frame height is about 48.&lt;/div&gt;</summary>
		<author><name>WoWWiki&gt;DrDoom</name></author>
	</entry>
</feed>