Click or drag to resize

XlsWorkbook SaveAs Method (String, ExcelSaveType, ExcelVersion)

Saves the workbook to a file with the specified file name, save type, and Excel version.

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,
	ExcelSaveType saveType,
	ExcelVersion version
)

Parameters

fileName
Type: System String
The name of the file to save the workbook to.
saveType
Type: Spire.Xls ExcelSaveType
The type of save operation to perform.
version
Type: Spire.Xls ExcelVersion
The version of Excel to save the workbook as.
See Also