Options for CsvImportOptions).
Object
Namespace: Radzen.Documents.Spreadsheet
Assembly: Radzen.Blazor.dll
public sealed class CsvImportOptionsEncoding used to decode the input. Byte-order marks at the start of the stream are auto-detected and consumed regardless of this setting.
public Text.Encoding Encoding { get; set; }
| Type | Description |
|---|---|
| Text.Encoding | Encoding used to decode the input. Byte-order marks at the start of the stream are auto-detected and consumed regardless of this setting. |
When true, fields that begin with = are stored as formulas; the cached value is computed by the formula evaluator. When false, such fields are stored as plain text.
public bool ParseFormulas { get; set; }
| Type | Description |
|---|---|
| bool | When true, fields that begin with = are stored as formulas; the cached value is computed by the formula evaluator. When false, such fields are stored as plain text. |
When true, fields that look like numbers, dates, or booleans are stored as the typed value. When false, every cell is stored as a string.
public bool ParseValues { get; set; }
| Type | Description |
|---|---|
| bool | When true, fields that look like numbers, dates, or booleans are stored as the typed value. When false, every cell is stored as a string. |
The character used to quote fields. Defaults to ".
public char QuoteChar { get; set; }
| Type | Description |
|---|---|
| char | The character used to quote fields. Defaults to ". |
The field separator. Defaults to ,.
public char Separator { get; set; }
| Type | Description |
|---|---|
| char | The field separator. Defaults to ,. |
The name assigned to the resulting sheet.
public string SheetName { get; set; }
| Type | Description |
|---|---|
| string | The name assigned to the resulting sheet. |