# TextOverflowPosition

> Specifies which part of the text the Element replaces with an ellipsis when textOverflow is set to TextOverflow.Ellipsis.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEngine.UIElements](/engine/6000.6/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public enum TextOverflowPosition
```

## Fields

| Value                                                                                           | Description                                                                      |
| ----------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
| [End](/engine/6000.6/script-reference/unityengine/uielements/textoverflowposition/end.md)       | The ellipsis replaces content at the end of the text. This is the default value. |
| [Middle](/engine/6000.6/script-reference/unityengine/uielements/textoverflowposition/middle.md) | The ellipsis replaces content in the middle of the text.                         |
| [Start](/engine/6000.6/script-reference/unityengine/uielements/textoverflowposition/start.md)   | The ellipsis replaces content at the beginning of the text.                      |
