---
name: "ctrlSetFontHeight"
type: command
status: ok
groups: ["GUI Control - HTML"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/ctrlSetFontHeight
revid: 336297
updated: 2022-12-21T11:10:07Z
---

# ctrlSetFontHeight

*Command · GUI Control - HTML · Arma 3 v0.50 · introduced in Armed Assault v1.00*

## Description

Sets the `sizeEx` property for most controls as follows:
- `CT_MAP` - "sizeExNames"
- `CT_HTML` - "P" >> "sizeEx"
- Other - "sizeEx"
- Arma 3 v2.02 `CT_STRUCTURED_TEXT` - "size"

## Syntax

```sqf
control ctrlSetFontHeight size
```

**Parameters:**

- `control`: [Control](../topics/Control.md)
- `size`: [Number](../topics/Number.md)

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
_control ctrlSetFontHeight 0.05;
```

## See also

[ctrlFontHeight](../commands/ctrlFontHeight.md) · Arma: GUI Configuration

<sub>Source: [BI Community Wiki — ctrlSetFontHeight](https://community.bistudio.com/wiki/ctrlSetFontHeight) (revision 336297).</sub>
