Class CsvSaveOptions
Save options for CSV (comma-separated values) files.
Inherited Members
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public sealed class CsvSaveOptions
Constructors
CsvSaveOptions()
Save options for CSV (comma-separated values) files.
Declaration
public CsvSaveOptions()
Properties
Delimiter
Specifies the field delimiter character. Default is comma (',').
Declaration
public char Delimiter { get; set; }
Property Value
| Type | Description |
|---|---|
| char |
Encoding
Specifies the text encoding for the output CSV file. Default is UTF-8 without BOM.
Declaration
public Encoding Encoding { get; set; }
Property Value
| Type | Description |
|---|---|
| Encoding |
QuoteAllValues
Gets or sets whether every field is wrapped in double quotes. Default is false (only quote when needed).
Declaration
public bool QuoteAllValues { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
UseFormattedValues
Gets or sets whether to export formatted display values instead of raw values. Default is false.
Declaration
public bool UseFormattedValues { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |