ctrlFontHeight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
|gr1= GUI Control
|gr1= GUI Control


|descr= Returns control's font size, usually <tt>sizeEx</tt> value (see [[ctrlSetFontHeight]]).
|descr= Returns control's font size, usually {{hl|sizeEx}} value (see [[ctrlSetFontHeight]]).


|s1= [[ctrlFontHeight]] control
|s1= [[ctrlFontHeight]] control
Line 14: Line 14:
|r1= [[Number]]
|r1= [[Number]]


|x1= <code>[[ctrlFontHeight]] _control;</code>
|x1= <sqf>ctrlFontHeight _control;</sqf>


|seealso= [[ctrlTextHeight]] [[ctrlTextWidth]] [[ctrlSetFontHeight]]
|seealso= [[ctrlTextHeight]] [[ctrlTextWidth]] [[ctrlSetFontHeight]]
}}
}}

Latest revision as of 13:16, 5 May 2022

Hover & click on the images for description

Description

Description:
Returns control's font size, usually sizeEx value (see ctrlSetFontHeight).
Groups:
GUI Control

Syntax

Syntax:
ctrlFontHeight control
Parameters:
control: Control
Return Value:
Number

Examples

Example 1:
ctrlFontHeight _control;

Additional Information

See also:
ctrlTextHeight ctrlTextWidth ctrlSetFontHeight

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note