RSS

Воскресенье, 22.12.2024, 06:27
Главная » WoW API » API Виджеты » Строка, использующая шрифт »

height = FontString:GetStringHeight()

[ править ]
Returns the height of the text displayed in the font string.
[клоны]
Returns the height of the text displayed in the font string. This value is based on the text currently displayed; e.g. a long block of text wrapped to several lines results in a greater height than that for a short block of text that fits on fewer lines.


Signature:
Code
height = FontString:GetStringHeight()

Returns:
  • height - Height of the text currently displayed in the font string (in pixels) (number)

Также смотрите: Строка, использующая шрифт
Ссылки: http://wowprogramming.com/docs/widgets/FontString/GetStringHeight