ExcelWorkbookSaveToCsv(Int32, Stream, String) Method

Saves the worksheet at the specified index to a stream in CSV format. The default UTF-8 text encoding is used when saving the output stream.

Definition

Namespace: Winnovative.ExcelLib
Assembly: WnvXls_NetCore (in WnvXls_NetCore.dll) Version: 11.0.0
C#
public void SaveToCsv(
	int worksheetIndex,
	Stream csvStream,
	string fieldsSeparator
)

Parameters

worksheetIndex  Int32
The zero based index of the worksheet to be saved.
csvStream  Stream
The output stream. For saving in memory a MemoryStream can be used.
fieldsSeparator  String
The fields separator in the saved CSV document.

See Also