Click or drag to resize

IWorkbook SaveAs Method (Stream, String)

Save active WorkSheet using separator.
Examples
The following code illustrates how to saves the active worksheet as stream with separator:
<para>//Create workbook</para><para>Workbook workbook = new Workbook();</para><para>workbook.LoadFromFile("Sample.xlsx");</para><para>//Save to stream</para><para>Stream stream = new MemoryStream();</para><para>workbook.SaveToFile(stream , ",");</para>

Namespace: Spire.Xls.Core
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
void SaveAs(
	Stream stream,
	string separator
)

Parameters

stream
Type: System.IO Stream
Stream to save.
separator
Type: System String
Current separator.
See Also