XlsWorkbook
SaveAs Method (String, String, Boolean)
|
Saves the active worksheet to a file with the specified file name, separator, and encoding.
Namespace:
Spire.Xls.Core.Spreadsheet
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public void SaveAs(
string fileName,
string separator,
bool addQuotationsForStringValue
)
Public Sub SaveAs (
fileName As String,
separator As String,
addQuotationsForStringValue As Boolean
)
public:
void SaveAs(
String^ fileName,
String^ separator,
bool addQuotationsForStringValue
)
member SaveAs :
fileName : string *
separator : string *
addQuotationsForStringValue : bool -> unit
Parameters
-
fileName
-
Type:
System
String
The name of the file to save the worksheet to.
-
separator
-
Type:
System
String
The separator to use when writing the data to the file.
-
addQuotationsForStringValue
-
Type:
System
Boolean
A boolean indicating whether to add quotations around string values.
See Also