IWorkbook SaveAs Method |
Name | Description | |
---|---|---|
![]() |
SaveAs(Stream) |
Saves changes to the specified stream.
|
![]() |
SaveAs(String) |
Short variant of SaveAs method.
|
![]() |
SaveAs(Stream, ExcelSaveType) |
Saves changes to the specified stream.
|
![]() ![]() |
SaveAs(Stream, String) |
Save active WorkSheet using separator.
![]()
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>
|
![]() |
SaveAs(String, ExcelSaveType) |
Short variant of SaveAs method.
|
![]() ![]() |
SaveAs(String, String) |
Save active WorkSheet using separator.
![]()
The following code illustrates how to save the active worksheet in a different file with separator:
<para>//Create workbook</para><para>Workbook workbook = new Workbook();</para><para>workbook.LoadFromFile("Sample.xlsx");</para><para>//Save to file</para><para>workbook.SaveToFile("Result.csv" , ",");</para>
|
![]() |
SaveAs(String, HttpResponse) |
Saves changes to the specified HttpResponse.
|
![]() |
SaveAs(String, ExcelSaveType, HttpResponse) |
Saves changes to the specified HttpResponse.
|