# SheetViewSettings Class

> SheetViewSettings class in the TX Sheet Control .NET API: Worksheet pane counts and indices; all coordinates are zero-based and preserve stored dimensions.

- **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)
- **Implements:** `System.IEquatable<TXTextControl.TXSheetControl.Server.SheetViewSettings>`
- **Path:** TX Sheet Control > API Reference > .NET API > TXTextControl.TXSheetControl.Server > SheetViewSettings Class
- **1099 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetviewsettings/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetviewsettings/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetviewsettings/llms-full.txt

---

Worksheet pane counts and indices; all coordinates are zero-based and preserve stored dimensions.

### Syntax

```csharp
public class SheetViewSettings
```

Interfaces: `IEquatable<SheetViewSettings>`.

### Members

#### Constructors

| Constructor | Description |
|---|---|
| [Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetviewsettings/constructor/llms-full.txt) |  |

#### Properties

| Property | Description |
|---|---|
| [FirstVisibleColumn](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetviewsettings/firstvisiblecolumn-property/llms-full.txt) |  |
| [FirstVisibleRow](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetviewsettings/firstvisiblerow-property/llms-full.txt) |  |
| [FrozenColumns](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetviewsettings/frozencolumns-property/llms-full.txt) |  |
| [FrozenRows](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetviewsettings/frozenrows-property/llms-full.txt) |  |
| [SplitColumn](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetviewsettings/splitcolumn-property/llms-full.txt) |  |
| [SplitRow](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetviewsettings/splitrow-property/llms-full.txt) |  |

### Examples

Obtain SheetViewSettings from a real document operation. Return the detached result to the calling report, API response or application.

```csharp
using TXTextControl.TXSheetControl.Server;

async Task<SheetViewSettings> ReadReportSheetViewSettingsAsync(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)");
    await sheet.Cell("A1").SetTextAsync("October invoice");
    await sheet.Cell("A1").FormatAsync(new { fontFamily = "Liberation Sans", fontSize = 16, bold = true, textColor = "#ffffff", fillColor = "#163b63" });
    await sheet.Range("B8:B10").FormatAsync(new { numberFormatCode = "#,##0.00", fontFamily = "Liberation Sans", fontSize = 11 });
    await sheet.Viewport.FreezeAsync(rows: 1, columns: 1);

    var result = await sheet.Viewport.GetSettingsAsync();
    return result;
}
```

### 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

- [SheetViewSettings Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetviewsettings/constructor/llms-full.txt): SheetViewSettings constructor in the TX Sheet Control .NET API, with its syntax, a C# example and remarks on awaiting tasks and handles.
- [SheetViewSettings.FirstVisibleColumn Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetviewsettings/firstvisiblecolumn-property/llms-full.txt): SheetViewSettings.FirstVisibleColumn property in the TX Sheet Control .NET API, with its syntax, its type int? and a C# example.
- [SheetViewSettings.FirstVisibleRow Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetviewsettings/firstvisiblerow-property/llms-full.txt): SheetViewSettings.FirstVisibleRow property in the TX Sheet Control .NET API, with its syntax, its type int? and a C# example.
- [SheetViewSettings.FrozenColumns Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetviewsettings/frozencolumns-property/llms-full.txt): SheetViewSettings.FrozenColumns property in the TX Sheet Control .NET API, with its syntax, its type int and a C# example.
- [SheetViewSettings.FrozenRows Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetviewsettings/frozenrows-property/llms-full.txt): SheetViewSettings.FrozenRows property in the TX Sheet Control .NET API, with its syntax, its type int, a C# example and remarks on awaiting tasks and handles.
- [SheetViewSettings.SplitColumn Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetviewsettings/splitcolumn-property/llms-full.txt): SheetViewSettings.SplitColumn property in the TX Sheet Control .NET API, with its syntax, its type int and a C# example.
- [SheetViewSettings.SplitRow Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetviewsettings/splitrow-property/llms-full.txt): SheetViewSettings.SplitRow property in the TX Sheet Control .NET API, with its syntax, its type int, a C# example and remarks on awaiting tasks and handles.

---

## Nearby

- **Previous:** [SheetView.SplitAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetview/splitasync-method/llms-full.txt)
- **Next:** [SheetViewSettings Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/sheetviewsettings/constructor/llms-full.txt)
