# ISheetControl Interface

> ISheetControl interface in the TX Sheet Control .NET API: Portable asynchronous document API implemented by browser and native server hosts.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **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.IAsyncDisposable`
- **Implemented by:** `TXTextControl.TXSheetControl.Blazor.BlazorSheetControl`, `TXTextControl.TXSheetControl.Server.ServerSheetControl`
- **Path:** TX Sheet Control > API Reference > .NET API > TXTextControl.TXSheetControl.Server > ISheetControl Interface
- **692 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/isheetcontrol/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/isheetcontrol/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/isheetcontrol/llms-full.txt

---

Portable asynchronous document API implemented by browser and native server hosts. Dispose the owner after its dependent documents.

### Syntax

```csharp
public interface ISheetControl
```

### Members

| Member | Description |
|---|---|
| [Events](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/isheetcontrol/events-property/llms-full.txt) | Document notifications. Browser hosts deliver completed notifications asynchronously. |
| [LoadAsync](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/isheetcontrol/loadasync-method/llms-full.txt) | Loads copied bytes atomically. PDF is save-only. Cancellation before commit retains the original document. |
| [LoadTextAsync](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/isheetcontrol/loadtextasync-method/llms-full.txt) | Loads UTF-8 CSV, XML or JSON text. Other formats require bytes. |
| [MergeAsync](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/isheetcontrol/mergeasync-method/llms-full.txt) | Merges application data into this document and returns detached merge metadata. |
| [SaveAsync](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/isheetcontrol/saveasync-method/llms-full.txt) | Exports an isolated snapshot to caller-owned bytes. |
| [SaveTextAsync](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/isheetcontrol/savetextasync-method/llms-full.txt) | Exports CSV, XML or JSON as UTF-8 text. |
| [Workbook](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/isheetcontrol/workbook-property/llms-full.txt) | Typed document operations and handles owned by this instance. |

### Examples

The `control` variable is the host received by `Ready`. File examples use caller-provided `xlsxBytes`.

```csharp
var sheet = await control.Workbook.Sheets.AtAsync(0);
await sheet.Cell("A1").SetValueAsync("Orders");
await sheet.Cell("B2").SetValueAsync(8);
await sheet.Cell("D2").SetFormulaAsync("=B2*12");
```

### Remarks

The native and browser hosts implement this portable interface. Browser hosts reject filesystem paths. Dispose dependent documents before their owner.

### See Also

- [Blazor Tutorial](https://docs.textcontrol.com/tx-sheet-control/getting-started/spreadsheet-editor/blazor/llms-full.txt).

---

## In This Section

- [ISheetControl.Events Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/isheetcontrol/events-property/llms-full.txt): ISheetControl.Events property in the TX Sheet Control .NET API: WorkbookEvents document notifications, which browser hosts deliver asynchronously.
- [ISheetControl.LoadAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/isheetcontrol/loadasync-method/llms-full.txt): ISheetControl.LoadAsync method in the TX Sheet Control .NET API: Loads copied bytes atomically; PDF is save-only, and early cancellation keeps the document.
- [ISheetControl.LoadTextAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/isheetcontrol/loadtextasync-method/llms-full.txt): ISheetControl.LoadTextAsync method in the TX Sheet Control .NET API: Loads UTF-8 CSV, XML or JSON text with optional LoadOptions and returns a LoadResult.
- [ISheetControl.MergeAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/isheetcontrol/mergeasync-method/llms-full.txt): ISheetControl.MergeAsync method in the TX Sheet Control .NET API: Merges application data into this document and returns detached merge metadata.
- [ISheetControl.SaveAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/isheetcontrol/saveasync-method/llms-full.txt): ISheetControl.SaveAsync method in the TX Sheet Control .NET API: Exports an isolated snapshot to caller-owned bytes, with optional SaveOptions.
- [ISheetControl.SaveTextAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/isheetcontrol/savetextasync-method/llms-full.txt): ISheetControl.SaveTextAsync method in the TX Sheet Control .NET API: Exports CSV, XML or JSON as UTF-8 text, with optional SaveOptions and a cancellation token.
- [ISheetControl.Workbook Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/isheetcontrol/workbook-property/llms-full.txt): ISheetControl.Workbook property in the TX Sheet Control .NET API: Typed document operations and handles owned by this instance.

---

## Nearby

- **Previous:** [DocumentFontOptions Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/documentfontoptions/constructor/llms-full.txt)
- **Next:** [ISheetControl.Events Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/isheetcontrol/events-property/llms-full.txt)
