# TabularLoadOptions Class

> TabularLoadOptions class in the TX Sheet Control .NET API: Limits and worksheet settings for UTF-8 tabular imports. A successful import replaces the workbook.

- **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.LoadOptions`
- **Derived:** `TXTextControl.TXSheetControl.Server.CsvLoadOptions`
- **Path:** TX Sheet Control > API Reference > .NET API > TXTextControl.TXSheetControl.Server > TabularLoadOptions Class
- **875 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularloadoptions/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularloadoptions/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularloadoptions/llms-full.txt

---

Limits and worksheet settings for UTF-8 tabular imports. A successful import replaces the workbook.

### Syntax

```csharp
public class TabularLoadOptions
```

### Members

#### Constructors

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

#### Properties

| Property | Description |
|---|---|
| [InferTypes](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularloadoptions/infertypes-property/llms-full.txt) | Infer numbers and booleans in CSV and untyped XML. Default true; JSON strings remain strings. |
| [MaxCells](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularloadoptions/maxcells-property/llms-full.txt) | Maximum rectangular cell count including blanks; defaults to 1,000,000. |
| [MaxColumns](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularloadoptions/maxcolumns-property/llms-full.txt) | Maximum columns; defaults to 16,384. |
| [MaxFileBytes](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularloadoptions/maxfilebytes-property/llms-full.txt) | Maximum input bytes; defaults to 32 MiB. |
| [MaxRows](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularloadoptions/maxrows-property/llms-full.txt) | Maximum rows, including generated headers; defaults to 1,048,576. |
| [SheetName](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularloadoptions/sheetname-property/llms-full.txt) | Imported worksheet name; defaults to Sheet1. |

### 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("<rows><row><Customer>Müller</Customer><Amount>125.5</Amount></row></rows>", StreamType.XML, new TabularLoadOptions { SheetName = "Orders", InferTypes = true, MaxFileBytes = 1048576, MaxRows = 1000, MaxColumns = 20, MaxCells = 20000 });

    var sheet=await control.Workbook.Sheets.AtAsync(0);
    await sheet.Range("A1:B1").FormatAsync(new { bold=true });
    return await control.SaveAsync(StreamType.SpreadsheetML);
}
```

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

- [TabularLoadOptions Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularloadoptions/constructor/llms-full.txt): TabularLoadOptions constructor in the TX Sheet Control .NET API, with its syntax, a C# example and remarks on awaiting tasks and handles.
- [TabularLoadOptions.InferTypes Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularloadoptions/infertypes-property/llms-full.txt): TabularLoadOptions.InferTypes property in the TX Sheet Control .NET API: Infer numbers and booleans in CSV and untyped XML. Default true.
- [TabularLoadOptions.MaxCells Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularloadoptions/maxcells-property/llms-full.txt): TabularLoadOptions.MaxCells property in the TX Sheet Control .NET API: Maximum rectangular cell count including blanks; defaults to 1,000,000.
- [TabularLoadOptions.MaxColumns Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularloadoptions/maxcolumns-property/llms-full.txt): TabularLoadOptions.MaxColumns property in the TX Sheet Control .NET API: Maximum columns; defaults to 16,384. Covers its type int? and a C# example.
- [TabularLoadOptions.MaxFileBytes Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularloadoptions/maxfilebytes-property/llms-full.txt): TabularLoadOptions.MaxFileBytes property in the TX Sheet Control .NET API: Maximum input bytes; defaults to 32 MiB. Covers its type long? and a C# example.
- [TabularLoadOptions.MaxRows Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularloadoptions/maxrows-property/llms-full.txt): TabularLoadOptions.MaxRows property in the TX Sheet Control .NET API: Maximum rows, including generated headers; defaults to 1,048,576.
- [TabularLoadOptions.SheetName Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/tabularloadoptions/sheetname-property/llms-full.txt): TabularLoadOptions.SheetName property in the TX Sheet Control .NET API: Imported worksheet name; defaults to Sheet1. Covers its type string? and a C# example.

---

## Nearby

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