# FontSettings Property

> Restricts the fonts a TXTextControl document can use: all fonts, scalable fonts only, embeddable fonts only or TrueType and OpenType fonts only; values add up.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > FontSettings Property
- **231 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fontsettings-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fontsettings-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fontsettings-property/llms-full.txt

---

Determines which kind of fonts can be used in a document.

Introduced: 15.0.

### Syntax

```vbscript
TXTextControl.FontSettings [= value]
```

| Setting | Description |
|---|---|
| 0 - All Fonts | (Default) All fonts which are supported through the output device are allowed. |
| 1 - Scaleable Fonts only | Allows only scaleable fonts. |
| 2 - Embeddable Fonts only | Allows only fonts which are embeddable. Embeddable fonts may be stored in a document without violating their font embedding licensing rights. When a document with embedded fonts is opened on a system that does not have the font installed, the embedded font may be loaded for temporary use on that system. TX Text Control allows only OpenType and TrueType fonts to be embeddable. |
| 4 - TrueType Fonts only | Allows only OpenType and TrueType fonts. |

### Data Types

Integer.

### Remarks

The values listed above can be added to set more than one option.

### See Also

- [Programming Category: Control Settings](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/control-settings/llms-full.txt)

---

## Nearby

- **Previous:** [FontName Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fontname-property/llms-full.txt)
- **Next:** [FontSize Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fontsize-property/llms-full.txt)
