NativeExcel for .Net Developer's Reference

IWorkbook.SaveAsMethod

Saves workbook to file or stream.

Overload List

Saves the workbook to the specified output stream.

[Visual Basic] FunctionSaveAs(ByValStream)AsBoolean
[C#] boolSaveAs(Stream);
[C++] boolSaveAs(Stream*);
[JScript] functionSaveAs(Stream):bool;

Saves the workbook to the specified output stream.

[Visual Basic] FunctionSaveAs(ByValStream,ByValXlFileFormat)AsBoolean
[C#] boolSaveAs(Stream,XlFileFormat);
[C++] boolSaveAs(Stream*,XlFileFormat);
[JScript] functionSaveAs(Stream,XlFileFormat):bool;

Saves the workbook to the specified output stream.

[Visual Basic] FunctionSaveAs(ByValStream,ByValXlFileFormat,ByValExportOptions)AsBoolean
[C#] boolSaveAs(Stream,XlFileFormat,ExportOptions);
[C++] boolSaveAs(Stream*,XlFileFormat,ExportOptions*);
[JScript] functionSaveAs(Stream,XlFileFormat,ExportOptions):bool;

Saves changes to the workbook in a different file.

[Visual Basic] FunctionSaveAs(ByValString)AsBoolean
[C#] boolSaveAs(string);
[C++] boolSaveAs(String*);
[JScript] functionSaveAs(String):bool;

Saves changes to the workbook in a different file.

[Visual Basic] FunctionSaveAs(ByValString,ByValXlFileFormat)AsBoolean
[C#] boolSaveAs(string,XlFileFormat);
[C++] boolSaveAs(String*,XlFileFormat);
[JScript] functionSaveAs(String,XlFileFormat):bool;

Saves changes to the workbook in a different file.

[Visual Basic] FunctionSaveAs(ByValString,ByValXlFileFormat,ByValExportOptions)AsBoolean
[C#] boolSaveAs(string,XlFileFormat,ExportOptions);
[C++] boolSaveAs(String*,XlFileFormat,ExportOptions*);
[JScript] functionSaveAs(String,XlFileFormat,ExportOptions):bool;

See Also

IWorkbook Interface | NativeExcel Namespace | Factory Class