Winnovative Excel Library

ExcelWorkbookSaveToCsv Method (Int32, String, String, Encoding)

Winnovative Excel Library Documentation
Saves the worksheet at the specified index to a file in CSV format using the specified text encoding for the output file.

Namespace:  Winnovative.ExcelLib
Assembly:  wnvxls (in wnvxls.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax

public void SaveToCsv(
	int worksheetIndex,
	string csvFileName,
	string fieldsSeparator,
	Encoding textEncoding
)

Parameters

worksheetIndex
Type: SystemInt32
The zero based index of the worksheet to be saved.
csvFileName
Type: SystemString
The path of the saved CSV file.
fieldsSeparator
Type: SystemString
The fields separator in the saved CSV file.
textEncoding
Type: System.TextEncoding
The text encoding of the output file.
See Also

Reference