TX Sheet Control

OpenDocumentSpreadsheetLoadOptions.MaxColumns Property

Property
Namespace
TXTextControl.TXSheetControl.Server
Package
TXTextControl.TXSheetControl.Server as TXTextControl.TXSheetControl.Api.dll from the private NuGet feed or the supplied NuGet folder
Also in
TXTextControl.TXSheetControl.Blazor as TXTextControl.TXSheetControl.Api.dll

Maximum editable column capacity; range 1–16384.

Syntax

public int? MaxColumns { get; init; }

Example

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

using TXTextControl.TXSheetControl.Server;

var options = new OpenDocumentSpreadsheetLoadOptions { MaxColumns = 16384 };
await control.LoadAsync(inputBytes, StreamType.OpenDocumentSpreadsheet, new LoadOptions { OpenDocumentSpreadsheet = options });