# Capitals Property

> Displays lowercase letters of the selected text as full-size capitals, petite caps with the height of the lowercase x, or small caps 10 percent taller.

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

---

Returns or sets values specifying whether lowercase letters are displayed with capital letters. Lowercase letters are displayed either with capital letters of the same size or with capital letters which have a smaller size. The smaller size is either the size of the lowercase 'x' (petite caps) or the size of the lowercase 'x' + 10% (small caps).

Introduced: 30.0.

### Syntax

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

| Setting | Description |
|---|---|
| txNoCapitals | There are no text effects with capital letters. |
| txCapitals | All lowercase letters are displayed with capital letters. |
| txPetiteCapitals | All lowercase letters are displayed with capital letters which have the size of the lowercase 'x'. |
| txSmallCapitals | All lowercase letters are displayed with capital letters which have the size of the lowercase 'x' + 10%. |

### Data Types

Long.

### See Also

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

---

## Nearby

- **Previous:** [CanUndo Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/canundo-property/llms-full.txt)
- **Next:** [CaretOut Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/caretout-event/llms-full.txt)
