# TabularSaveOptions Class

> TabularSaveOptions class in the TX Sheet Control .NET API: Exports values and calculated formula results from one worksheet without modifying it.

- **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.SaveOptions`
- **Derived:** `TXTextControl.TXSheetControl.Server.CsvSaveOptions`, `TXTextControl.TXSheetControl.Server.JsonSaveOptions`
- **Path:** TX Sheet Control > API Reference > .NET API > TXTextControl.TXSheetControl.Server > TabularSaveOptions Class
- **847 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularsaveoptions/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularsaveoptions/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularsaveoptions/llms-full.txt

---

Exports values and calculated formula results from one worksheet without modifying it.

### Syntax

```csharp
public class TabularSaveOptions
```

### Members

#### Constructors

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

#### Properties

| Property | Description |
|---|---|
| [HasHeaderRow](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularsaveoptions/hasheaderrow-property/llms-full.txt) | JSON records/XML use the first row as field names by default; false generates Column1, etc. CSV ignores this setting. |
| [MaxCells](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularsaveoptions/maxcells-property/llms-full.txt) | Maximum selected rectangular cell count; defaults to 1,000,000. |
| [MaxFileBytes](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularsaveoptions/maxfilebytes-property/llms-full.txt) | Maximum output bytes; defaults to 32 MiB. |
| [Range](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularsaveoptions/range-property/llms-full.txt) | Inclusive A1 rectangle; defaults to A1 through the last populated cell. |
| [SheetName](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularsaveoptions/sheetname-property/llms-full.txt) | Worksheet name; defaults to the active worksheet. |

### Examples

Import customer orders, configure bounded tabular exchange and export the processed values or a formatted workbook.

```csharp
using TXTextControl.TXSheetControl.Server;

async Task<byte[]> ExchangeOrderDataAsync(ServerSheetControl control)
{
    await control.LoadTextAsync("Customer;Amount;Total\nMüller;125,5;0", StreamType.CSV, new CsvLoadOptions {Delimiter=";",DecimalSeparator=",",SheetName="Orders"});

    var sheet=await control.Workbook.Sheets.AtAsync(0);
    await sheet.Cell("C2").SetFormulaAsync("=B2*1.19");
    return await control.SaveAsync(StreamType.XML, new TabularSaveOptions { SheetName = "Orders", Range = "A1:C2", HasHeaderRow = true, MaxCells = 10000, MaxFileBytes = 1048576 });
}
```

### See Also

- [TXTextControl.TXSheetControl.Server Namespace](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/llms-full.txt)
- [CSV, XML and JSON Data](https://docs.textcontrol.com/tx-sheet-control/document-processing/tabular-data/llms-full.txt)

---

## In This Section

- [TabularSaveOptions Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularsaveoptions/constructor/llms-full.txt): TabularSaveOptions constructor in the TX Sheet Control .NET API, with its syntax, a C# example and remarks on awaiting tasks and handles.
- [TabularSaveOptions.HasHeaderRow Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularsaveoptions/hasheaderrow-property/llms-full.txt): TabularSaveOptions.HasHeaderRow property in the TX Sheet Control .NET API: JSON records/XML use the first row as field names by default.
- [TabularSaveOptions.MaxCells Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularsaveoptions/maxcells-property/llms-full.txt): TabularSaveOptions.MaxCells property in the TX Sheet Control .NET API: Maximum selected rectangular cell count; defaults to 1,000,000.
- [TabularSaveOptions.MaxFileBytes Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularsaveoptions/maxfilebytes-property/llms-full.txt): TabularSaveOptions.MaxFileBytes property in the TX Sheet Control .NET API: Maximum output bytes; defaults to 32 MiB. Covers its type long? and a C# example.
- [TabularSaveOptions.Range Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularsaveoptions/range-property/llms-full.txt): TabularSaveOptions.Range property in the TX Sheet Control .NET API: Inclusive A1 rectangle; defaults to A1 through the last populated cell.
- [TabularSaveOptions.SheetName Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularsaveoptions/sheetname-property/llms-full.txt): TabularSaveOptions.SheetName property in the TX Sheet Control .NET API: Worksheet name; defaults to the active worksheet.

---

## Nearby

- **Previous:** [TabularLoadOptions.SheetName Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularloadoptions/sheetname-property/llms-full.txt)
- **Next:** [TabularSaveOptions Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularsaveoptions/constructor/llms-full.txt)
