Workbook SaveToStream Method |
| Name | Description | |
|---|---|---|
|
|
SaveToStream(Stream) |
Save workbook the stream
|
|
|
SaveToStream(Stream, FileFormat) |
Save workbook to stream.
|
|
|
SaveToStream(Stream, String) |
Save workbook the stream.
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>
|