# LibTmux::PaneSnapshot#height

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Ruby
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ruby/blob/dcc9f8b5a6970144a9e7d80cd5f381d8f6198372/gems/libtmux/lib/libtmux/snapshot.rb#L148
- **Page:** https://libtmux.org/en/ruby/v0.1.0.alpha.2/reference/libtmux-panesnapshot-height/

```
def height: () -> ::Integer
```

Behavior: Captured records.

Behavior contract: Captured records.

## In other ports

### A pane's height in cells

- Python: [`libtmux.Pane.height`](/en/py/latest/reference/libtmux-pane-height/) (property)
- Lua: [`libtmux.SnapshotPane.height`](/en/lua/latest/reference/libtmux-snapshotpane-height/) (attribute)
- Rust: [`pane.Pane.height`](/en/rs/latest/reference/pane-pane-height/) (method)
- Go: [`tmux.Pane.Height`](/en/go/latest/reference/tmux-pane-height/) (method)
- C#: [`LibTmux.Pane.Height`](/en/csharp/latest/reference/libtmux-pane-height/) (property)
- C++: [`libtmux::Pane::height`](/en/cxx/latest/reference/libtmux-pane-height-l0kt/) (method)
- Swift: [`Pane.height`](/en/swift/latest/reference/pane-height/) (property)
