Click or drag to resize

XlsWorkbook SaveAs Method (Stream, ExcelSaveType, ExcelVersion)

Saves the workbook to the specified stream with the given save type and 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(
	Stream stream,
	ExcelSaveType saveType,
	ExcelVersion version
)

Parameters

stream
Type: System.IO Stream
The stream 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 the Excel file to save as.
See Also