# UILineInfo

> Information about a generated line of text.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.TextRenderingModule

```csharp
public struct UILineInfo
```

## Fields

| Value                                                                                  | Description                                                                                                                         |
| -------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| [height](/engine/6000.6/script-reference/unityengine/uilineinfo/height.md)             | Height of the line.                                                                                                                 |
| [leading](/engine/6000.6/script-reference/unityengine/uilineinfo/leading.md)           | Space in pixels between this line and the next line.                                                                                |
| [startCharIdx](/engine/6000.6/script-reference/unityengine/uilineinfo/startcharidx.md) | Index of the first character in the line.                                                                                           |
| [topY](/engine/6000.6/script-reference/unityengine/uilineinfo/topy.md)                 | The upper Y position of the line in pixels. This is used for text annotation such as the caret and selection box in the InputField. |
