> For the complete documentation index, see [llms.txt](https://gebra-it.gitbook.io/wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gebra-it.gitbook.io/wiki/client-api-reference/functions/setfontweight.md).

# setFontWeight

Sets the font weight of a control.

## Parameters

1. ControlId
2. FontWeight - one of those: "normal", "bold"

## Example Usages

### Set to bold

```javascript
app.setFontWeight("myControl", "bold");
```

### Set to normal

```javascript
app.setFontWeight("myControl", "normal");
app.setFontWeight("myControl"); //you can skip param2 if you want to set it back to normal
```

### Return Values

Function does not explicitly produce return value.
