> For the complete documentation index, see [llms.txt](https://docs.overdare.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overdare.com/development/api-reference/enums/texttruncate.md).

# TextTruncate

## Overview

TextTruncate is an Enum that defines how text that exceeds the area is shortened.

It is used in the TextTruncate property of TextLabel and TextButton, and determines where text that exceeds the area is cut off.

## Items

| Name      | Value | Description                                                                                |
| --------- | ----- | ------------------------------------------------------------------------------------------ |
| None      | 0     | Does not shorten the text.                                                                 |
| AtEnd     | 1     | Cuts off the part that exceeds the area by word and displays an ellipsis (...) at the end. |
| SplitWord | 2     | Cuts off even in the middle of a word and displays an ellipsis (...) at the end.           |

## See also

{% content-ref url="/pages/zjNQugnDrMlHZqOsy4VP" %}
[TextLabel](https://docs.overdare.com/development/api-reference/classes/textlabel.md)
{% endcontent-ref %}

{% content-ref url="/pages/CTjPyf13rS5gpJ0zxpMp" %}
[TextButton](https://docs.overdare.com/development/api-reference/classes/textbutton.md)
{% endcontent-ref %}
