ExcelWorkbookSaveToCsv(Int32, String, String, Encoding) Method
Saves the worksheet at the specified index to a file in CSV format using the specified text encoding for the output file.
Namespace: Winnovative.ExcelLibAssembly: WnvXls_NetCore (in WnvXls_NetCore.dll) Version: 11.0.0
public void SaveToCsv(
int worksheetIndex,
string csvFileName,
string fieldsSeparator,
Encoding textEncoding
)
Public Sub SaveToCsv (
worksheetIndex As Integer,
csvFileName As String,
fieldsSeparator As String,
textEncoding As Encoding
)
public:
void SaveToCsv(
int worksheetIndex,
String^ csvFileName,
String^ fieldsSeparator,
Encoding^ textEncoding
)
member SaveToCsv :
worksheetIndex : int *
csvFileName : string *
fieldsSeparator : string *
textEncoding : Encoding -> unit
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.
- textEncoding Encoding
- The text encoding of the output file.