Workbook
SaveToFile Method (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:
Namespace:
Spire.Xls
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public void SaveToFile(
string fileName,
string separator
)
Public Sub SaveToFile (
fileName As String,
separator As String
)
public:
void SaveToFile(
String^ fileName,
String^ separator
)
member SaveToFile :
fileName : string *
separator : string -> unit
Parameters
-
fileName
-
Type:
System
String
File name.
-
separator
-
Type:
System
String
Current separator.
See Also