# OpenDocumentSpreadsheetLoadOptions.MaxPartBytes Property

> OpenDocumentSpreadsheetLoadOptions.MaxPartBytes property in the TX Sheet Control .NET API: Maximum expanded bytes per ZIP member.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Property
- **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)
- **Path:** TX Sheet Control > API Reference > .NET API > TXTextControl.TXSheetControl.Server > OpenDocumentSpreadsheetLoadOptions > OpenDocumentSpreadsheetLoadOptions.MaxPartBytes Property
- **236 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/opendocumentspreadsheetloadoptions/maxpartbytes-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/opendocumentspreadsheetloadoptions/maxpartbytes-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/opendocumentspreadsheetloadoptions/maxpartbytes-property/llms-full.txt

---

Maximum expanded bytes per ZIP member.

### Syntax

```csharp
public long? MaxPartBytes { get; init; }
```

### Example

The application owns the licensed `control` and supplies `inputBytes` for loading.

```csharp
using TXTextControl.TXSheetControl.Server;

var options = new OpenDocumentSpreadsheetLoadOptions { MaxPartBytes = 67108864 };
await control.LoadAsync(inputBytes, StreamType.OpenDocumentSpreadsheet, new LoadOptions { OpenDocumentSpreadsheet = options });
```

---

## Nearby

- **Previous:** [OpenDocumentSpreadsheetLoadOptions.MaxFileBytes Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/opendocumentspreadsheetloadoptions/maxfilebytes-property/llms-full.txt)
- **Next:** [OpenDocumentSpreadsheetLoadOptions.MaxRows Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/opendocumentspreadsheetloadoptions/maxrows-property/llms-full.txt)
