ExcelWorkbookSaveToCsv(Int32, String, String) Method
Saves the worksheet at the specified index to a file in CSV format. The default UTF-8 text encoding is used when saving the output file.
Namespace: Winnovative.ExcelLibAssembly: WnvXls_NetCore (in WnvXls_NetCore.dll) Version: 14.0.0
public void SaveToCsv(
int worksheetIndex,
string csvFileName,
string fieldsSeparator
)
Parameters
- worksheetIndex Int32
- The zero based index of the worksheet to be saved.
- csvFileName String
- The path of the saved CSV file.
- fieldsSeparator String
- The fields separator in the saved CSV file