---
id: "P:cAlgo.API.ChartText.IsUnderlined"
kind: "property"
type: "T:cAlgo.API.ChartText"
url: "https://help.ctrader.com/ctrader-algo/references/Chart/Drawings/ChartText/IsUnderlined/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# ChartText.IsUnderlined

Member of [ChartText](https://help.ctrader.com/ctrader-algo/references/Chart/Drawings/ChartText/index.md).

## IsUnderlined

Gets or sets if the text is Underlined or not

Environments: Desktop supported · CLI works differently · Cloud works differently.

- CLI: Created and kept with all its properties, but never drawn: the CLI displays no chart.
- Cloud: Created and kept with all its properties, but never drawn: the cloud displays no chart.

C#:

```csharp
bool IsUnderlined {get; set;}
```

Python:

```python
chartText.IsUnderlined: bool
```

### Returns

`bool` — 

### Examples

C#:

```csharp
var text = Chart.DrawText("label", "High", Bars.OpenTimes.LastValue, Bars.HighPrices.LastValue, Color.White);
text.IsUnderlined = true;
Print("Text is underlined: {0}", text.IsUnderlined);
```

Python:

```python
text = api.Chart.DrawText("label", "High", api.Bars.OpenTimes.LastValue, api.Bars.HighPrices.LastValue, Color.White)
text.IsUnderlined = True
api.Print(f"Text is underlined: {text.IsUnderlined}")
```

