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

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

# Window.Height

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

## Height

Get / Set height of the Window

Environments: Desktop supported · CLI not supported · Cloud not supported.

- CLI: Never shown: Show, Hide and Close send nothing; IsVisible stays false and window events never fire.
- Cloud: Never shown: Show, Hide and Close send nothing; IsVisible stays false and window events never fire.

C#:

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

Python:

```python
window.Height: float
```

### Returns

`double` — 

### Examples

C#:

```csharp
var window = new Window { Title = "Tall window", Width = 250, Height = 500 };
window.Show();
Print("Height: {0}", window.Height);
```

Python:

```python
window = Window()
window.Title = "Tall window"
window.Width = 250
window.Height = 500
window.Show()
api.Print(f"Height: {window.Height}")
```

