TxtLoadOptions.MaxColumnCount

TxtLoadOptions.MaxColumnCount property

The maximum count of columns to be imported for one sheet.

public int MaxColumnCount { get; set; }

Remarks

Those columns exceeding this limit will be ignored or extended to next sheet according to ExtendToNextSheet. This count includes the header columns(HeaderColumnsCount). The maximum value of it is the column limit of corresponding file format, such as for xlsx file it 16384. If this property has not been specified or the specified value is not positive, then the maximum limit will be used too.

See Also