ctrlFontHeight: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
|game1= arma3dev | |game1= arma3dev | ||
|version= 2.01 | |version= 2.01 | ||
|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 <tt>sizeEx</tt> value (see [[ctrlSetFontHeight]]). | ||
|mp= |Multiplayer Behaviour= | |mp= |Multiplayer Behaviour= | ||
Line 13: | Line 13: | ||
|pr= |Problems= | |pr= |Problems= | ||
|s1= [[ctrlFontHeight]] control | |s1= [[ctrlFontHeight]] control | ||
|p1= control: [[Control]] | |p1= control: [[Control]] | ||
|r1= [[Number]] | |r1= [[Number]] | ||
|x1= <code>[[ctrlFontHeight]] _control;</code> | |x1= <code>[[ctrlFontHeight]] _control;</code> | ||
|seealso= [[ctrlTextHeight]] [[ctrlTextWidth]] [[ctrlSetFontHeight]] | |seealso= [[ctrlTextHeight]] [[ctrlTextWidth]] [[ctrlSetFontHeight]] | ||
}} | }} | ||
Revision as of 00:30, 18 January 2021
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
[[Category:Introduced with arma3dev version ]][[ Category: arma3dev: New Scripting Commands | CTRLFONTHEIGHT]][[ Category: arma3dev: Scripting Commands | CTRLFONTHEIGHT]]