# SheetView Class

> SheetView class in the TX Sheet Control .NET API: Freeze and split data coordinates without modifying worksheet dimensions or print pagination.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Class
- **Namespace:** `TXTextControl.TXSheetControl.Server`
- **Package:** `TXTextControl.TXSheetControl.Server` (assembly `TXTextControl.TXSheetControl.Api.dll`, from the private NuGet feed or the supplied NuGet folder)
- **Package:** `TXTextControl.TXSheetControl.Blazor` (assembly `TXTextControl.TXSheetControl.Api.dll`, from the private NuGet feed or the supplied NuGet folder)
- **Inherits:** `TXTextControl.TXSheetControl.Server.DocumentObject`
- **Path:** TX Sheet Control > API Reference > .NET API > TXTextControl.TXSheetControl.Server > SheetView Class
- **775 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetview/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetview/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetview/llms-full.txt

---

Freeze and split data coordinates without modifying worksheet dimensions or print pagination.

### Syntax

```csharp
public class SheetView
```

### Members

#### Methods

| Method | Description |
|---|---|
| [FreezeAsync](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetview/freezeasync-method/llms-full.txt) | Freezes the specified counts of data rows and columns; fixed headings remain separate. |
| [GetSettingsAsync](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetview/getsettingsasync-method/llms-full.txt) | Reads pane configuration in zero-based worksheet data coordinates. |
| [ResetAsync](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetview/resetasync-method/llms-full.txt) | Restores a single unfrozen viewport. |
| [SplitAsync](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetview/splitasync-method/llms-full.txt) | Splits the worksheet view after the specified data row and column counts. |

### Examples

Build a small report using this document API and return its PDF bytes. Pass a live control with a fresh workbook; the caller owns its lifetime.

```csharp
using TXTextControl.TXSheetControl.Server;

async Task<byte[]> CreateSheetViewReportAsync(ServerSheetControl control)
{
    var book = control.Workbook;
    var sheet = await book.Sheets.AtAsync(0);
    await sheet.Cell("B8").SetValueAsync(120);
    await sheet.Cell("B9").SetValueAsync(80);
    await sheet.Cell("B10").SetFormulaAsync("=SUM(B8:B9)");

    var sheetView = sheet.Viewport;
    await sheetView.FreezeAsync(rows: 1, columns: 1);
    return await control.SaveAsync(StreamType.PDF);
}
```

### See Also

- [TXTextControl.TXSheetControl.Server Namespace](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/llms-full.txt)
- [Workbooks and Worksheets](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/workbooks/llms-full.txt)

---

## In This Section

- [SheetView.FreezeAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetview/freezeasync-method/llms-full.txt): SheetView.FreezeAsync method in the TX Sheet Control .NET API: Freezes the specified counts of data rows and columns; fixed headings remain separate.
- [SheetView.GetSettingsAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetview/getsettingsasync-method/llms-full.txt): SheetView.GetSettingsAsync method in the TX Sheet Control .NET API: Reads pane configuration in zero-based worksheet data coordinates.
- [SheetView.ResetAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetview/resetasync-method/llms-full.txt): SheetView.ResetAsync method in the TX Sheet Control .NET API: Restores a single unfrozen viewport. Includes the syntax and a C# example.
- [SheetView.SplitAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetview/splitasync-method/llms-full.txt): SheetView.SplitAsync method in the TX Sheet Control .NET API: Splits the worksheet view after the specified data row and column counts.

---

## Nearby

- **Previous:** [SheetProtectionSettings.SpinCount Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetprotectionsettings/spincount-property/llms-full.txt)
- **Next:** [SheetView.FreezeAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetview/freezeasync-method/llms-full.txt)
