# Enum.TextTruncate

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/TextTruncate/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/TextTruncate

Controls the truncation of text when using the `TextTruncate` property.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `None` | 0 | Text is not truncated. |
| `AtEnd` | 1 | Text is truncated at the end of the text; extra graphemes that cannot fit into the space are replaced with `...`. Word boundaries are respected if possible. For example, if the control is between -> and <- like so: `->Long text is truncated at the en<-d of the last complete word` The text will be: `Long text is truncated at the...` |
| `SplitWord` | 2 | If the end of the line occurs in the middle of a word, the text is truncated inside of that word. Extra graphemes that cannot fit into the space are replaced with `...`. For example, if the control is between -> and <- like so: `->Long text is truncated at the en<-d of the last complete word` The text will be: `Long text is truncated at the en...` |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [TextBox](https://rapi.sleaze.dev/classes/TextBox.md): property `TextTruncate`
- [TextButton](https://rapi.sleaze.dev/classes/TextButton.md): property `TextTruncate`
- [TextLabel](https://rapi.sleaze.dev/classes/TextLabel.md): property `TextTruncate`
