Skip to content

CsvParseOptions

ClassChartGuruChartGuru
public sealed class CsvParseOptions

Options for ChartGuru.CsvParser.Parse(System.String%2cChartGuru.CsvParseOptions). Sensible defaults match the most common spreadsheet exports (RFC 4180 with auto-detected delimiter and header).

public char Delimiter

Field delimiter. ‘\0’ (default) auto-detects between ,, ;, \t, and |.

Returns

System.Char — No return description is available.

public char Quote

Field quote character. RFC 4180 uses .

Returns

System.Char — No return description is available.

public CsvHeaderMode HeaderMode

Header row treatment. ChartGuru.CsvHeaderMode.Auto heuristically classifies the first row as a header when its cells are all non-numeric. Set to ChartGuru.CsvHeaderMode.Yes / ChartGuru.CsvHeaderMode.No to force.

Returns

ChartGuru.CsvHeaderMode — No return description is available.

public string CommentPrefix

Lines starting with this prefix are skipped before parsing. Empty disables.

Returns

System.String — No return description is available.

public int SkipRows

Number of physical lines to skip at the top of the file.

Returns

System.Int32 — No return description is available.

public int MaxRows

Maximum data rows to retain (0 = unlimited).

Returns

System.Int32 — No return description is available.

public bool TrimCells

Trim whitespace from every parsed cell.

Returns

System.Boolean — No return description is available.

public CsvParseOptions Clone()

No description is available for this member.

Returns

ChartGuru.CsvParseOptions — No return description is available.