ctrlFontHeight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


|game1= arma3dev |Game name=
|game1= arma3
|version1= 2.02


|version= 2.01 |Game version=
|gr1= GUI Control
____________________________________________________________________________________________


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


|mp= |Multiplayer Behaviour=
|s1= [[ctrlFontHeight]] control
 
|pr= |Problems=
____________________________________________________________________________________________
 
|s1= [[ctrlFontHeight]] control|Syntax=


|p1= control: [[Control]]
|p1= control: [[Control]]


|r1= [[Number]] |Return Value=
|r1= [[Number]]
____________________________________________________________________________________________


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


|seealso= |See Also=
|seealso= [[ctrlTextHeight]] [[ctrlTextWidth]] [[ctrlSetFontHeight]]
}}
}}
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- END Note Section -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]

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