Workbook
SaveToFile Method (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:
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,
bool addQuotationsForStringValue
)
Public Sub SaveToFile (
fileName As String,
separator As String,
addQuotationsForStringValue As Boolean
)
public:
void SaveToFile(
String^ fileName,
String^ separator,
bool addQuotationsForStringValue
)
member SaveToFile :
fileName : string *
separator : string *
addQuotationsForStringValue : bool -> unit
Parameters
-
fileName
-
Type:
System
String
File name.
-
separator
-
Type:
System
String
Current separator.
-
addQuotationsForStringValue
-
Type:
System
Boolean
Add double Quotation marks for string value.
See Also