Wikia

WoWWiki

Watchlist Recent changes

API FontString GetStringWidth

Main Menue



Returns how wide the string would be, in pixels, without wrapping:

width = MyFontString:GetStringWidth();

Note Edit

Get/SetWidth() and Get/SetHeight() operate very differently on FontString objects than they do in other objects.

Among other things, if no width is explicitly set, GetWidth() will return the exact same result as GetStringWidth().

See the FontString object information for details.

Pages on WoWWiki

94,206pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
55,632photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki