---
id: "P:cAlgo.API.Frame.Height"
kind: "property"
type: "T:cAlgo.API.Frame"
url: "https://help.ctrader.com/ctrader-algo/references/Plugin/Chart/Frame/Height/"
---

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

# Frame.Height

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

## Height

Returns current height of frame.

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

- CLI: Available to plugins only, and plugins cannot run in the CLI.
- Cloud: Available to plugins only, and plugins cannot run in the cloud.

C#:

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

Python:

```python
frame.Height: float
```

### Returns

`double` — 

### Examples

C#:

```csharp
var customFrame = ChartManager.AddCustomFrame("My Frame");
Print("Frame height: {0}", customFrame.Height);
```

Python:

```python
customFrame = api.ChartManager.AddCustomFrame("My Frame")
api.Print(f"Frame height: {customFrame.Height}")
```

