# CharacterScaling Property

> Returns or sets the character scaling of the selected text in percent of the average character width; returns -1 when the selection mixes scaling values.

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

---

Returns or sets a character scaling, in percent of the average character width, of the selected text.

Introduced: 30.0.

### Syntax

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

### Data Types

Integer.

### Remarks

The property returns -1, if the selection contains characters with different scaling values.

### See Also

- [Programming Category: Character Formatting](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/character-formatting/llms-full.txt)

---

## Nearby

- **Previous:** [ChangeTextDirection Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/changetextdirection-method/llms-full.txt)
- **Next:** [CharacterSpacing Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/characterspacing-property/llms-full.txt)
