---
id: "P:cAlgo.API.Thickness.Left"
kind: "property"
type: "T:cAlgo.API.Thickness"
url: "https://help.ctrader.com/ctrader-algo/references/Controls/Thickness/Left/"
---

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

# Thickness.Left

Member of [Thickness](https://help.ctrader.com/ctrader-algo/references/Controls/Thickness/index.md).

## Left

Gets or sets the thickness of the left side of the retangle.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
public double Left {get; set;}
```

Python:

```python
thickness.Left: float
```

### Returns

`double` — 

### Examples

C#:

```csharp
var margin = new Thickness(5);
margin.Left = 20;
Chart.AddControl(new TextBlock { Text = "EURUSD", Margin = margin });
Print("Left: {0}", margin.Left);
```

Python:

```python
margin = Thickness(5)
margin.Left = 20
textBlock = TextBlock()
textBlock.Text = "EURUSD"
textBlock.Margin = margin
api.Chart.AddControl(textBlock)
api.Print(f"Left: {margin.Left}")
```

