Click or drag to resize
CsvSaveOptions Constructor (CsvType)
Initializes a new instance of the CsvSaveOptions class.

Namespace:  GemBox.Spreadsheet
Assembly:  GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 41.3.30.1033
Syntax
public CsvSaveOptions(
	CsvType csvType
)

Parameters

csvType
Type: GemBox.SpreadsheetCsvType
Value delimiter, CsvType.
Examples

Following code demonstrates how to save ExcelCell.Values to CSV file format. Value (numbers, dates, etc.) will be converted to string using specified culture.

ef.Save(
    "Report.csv",
    new CsvSaveOptions(CsvType.CommaDelimited)
    {
        FormatProvider = CultureInfo.CurrentCulture
    });
See Also