# LibTmux.CapturePaneRequest.CapturePaneRequest

- **Module:** LibTmux.CapturePaneRequest
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Requests/CapturePaneRequest.cs#L44
- **Page:** https://libtmux.org/reference/dotnet/libtmux-capturepanerequest-capturepanerequest/

```
LibTmux.CapturePaneRequest.CapturePaneRequest(startLine: CapturePanePosition?, endLine: CapturePanePosition?, escapeSequences: bool, escapeNonPrintable: bool, joinWrappedLines: bool, preserveTrailingSpaces: bool, trimTrailingSpaces: bool, alternateScreen: bool, quiet: bool, modeScreen: bool, pending: bool, hyperlinks: bool, lineNumbers: bool, lineFlags: bool)
```

Initializes a capture request.

## Parameters

- `startLine` (CapturePanePosition?) — The first line to capture.
- `endLine` (CapturePanePosition?) — The last line to capture.
- `escapeSequences` (bool) — Whether escape sequences are preserved.
- `escapeNonPrintable` (bool) — Whether unprintable bytes are escaped as octal.
- `joinWrappedLines` (bool) — Whether wrapped lines are joined.
- `preserveTrailingSpaces` (bool) — Whether trailing spaces are kept.
- `trimTrailingSpaces` (bool) — Whether trailing spaces are removed.
- `alternateScreen` (bool) — Whether the alternate screen is captured.
- `quiet` (bool) — Whether a missing alternate screen is not an error.
- `modeScreen` (bool) — Whether the pane's mode screen is captured.
- `pending` (bool) — Whether pending output is captured.
- `hyperlinks` (bool) — Whether hyperlinks are captured.
- `lineNumbers` (bool) — Whether each line carries its number.
- `lineFlags` (bool) — Whether each line carries its flags.
