Click or drag to resize

Workbook SaveToFile Method

Overload List
Name Description
Public method SaveToFile(String)
Saves changes to the workbook in a different file
Public method SaveToFile(String, ExcelVersion)
Saves changes to the workbook in a different file
Public method SaveToFile(String, FileFormat)
Saves changes to the workbook in a different file
Public method SaveToFile(String, TextSaveOptions)
Saves changes to the workbook in a different file
Public method Code example SaveToFile(String, String)
Saves changes to the workbook in a different file.
Examples
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>
Public method SaveToFile(String, FileFormat, Boolean)
Saves changes to the workbook in a different file
Public method Code example SaveToFile(String, String, Boolean)
Saves changes to the workbook in a different file.
Examples
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" , ",", true);</para>
Top
See Also