Table of Contents

Class XlsxCsvReadOptions

Namespace
DocWright.Spreadsheet
Assembly
DocWright.Spreadsheet.dll

How delimited text is read into a workbook (FromCsv(TextReader, XlsxCsvReadOptions?)).

public sealed class XlsxCsvReadOptions
Inheritance
XlsxCsvReadOptions
Inherited Members

Constructors

XlsxCsvReadOptions()

Creates options with the defaults.

Fields

DefaultMaxCells

The default of MaxCells: two million cells.

Properties

Delimiter

Gets or sets what separates two fields. Default a comma. Not the quote or a line break.

DetectDelimiter

Gets or sets a value indicating whether the delimiter is found from the text. Default false: the text is read with Delimiter.

InferTypes

Gets or sets a value indicating whether a field that reads as a number or as an ISO 8601 date becomes one. Default false: every field is text, which loses nothing.

MaxCells

Gets or sets the most cells the text may fill, or null for no limit beyond a worksheet's own grid. Default DefaultMaxCells: the workbook is built in memory, at something over a hundred bytes a cell.

Quote

Gets or sets what encloses a field that holds the delimiter or a line break, doubled for itself inside one. Default ".

SheetName

Gets or sets the name of the sheet the text is read into. Default Sheet1.