---
description: Sets the font weight of a control.
---

# setFontWeight

## 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.
