NativeExcel for .Net Developer's Reference

IRange.SaveAs Method

Saves range content in a file or a Stream.

Overload List

Saves the range data to the specified output stream.

[Visual Basic] Function SaveAs(ByVal Stream,ByVal XlFileFormat) As Boolean
[C#] bool SaveAs(Stream,XlFileFormat);
[C++] bool SaveAs(Stream*,XlFileFormat);
[JScript] function SaveAs(Stream,XlFileFormat): bool;

Saves the range data to the specified output stream.

[Visual Basic] Function SaveAs(ByVal Stream,ByVal XlFileFormat,ByVal ExportOptions) As Boolean
[C#] bool SaveAs(Stream,XlFileFormat,ExportOptions);
[C++] bool SaveAs(Stream*,XlFileFormat,ExportOptions*);
[JScript] function SaveAs(Stream,XlFileFormat,ExportOptions): bool;

Saves the range data to the specified file.

[Visual Basic] Function SaveAs(ByVal String,ByVal XlFileFormat) As Boolean
[C#] bool SaveAs(string,XlFileFormat);
[C++] bool SaveAs(String*,XlFileFormat);
[JScript] function SaveAs(String,XlFileFormat): bool;

Saves the range data to the specified file.

[Visual Basic] Function SaveAs(ByVal String,ByVal XlFileFormat,ByVal ExportOptions) As Boolean
[C#] bool SaveAs(string,XlFileFormat,ExportOptions);
[C++] bool SaveAs(String*,XlFileFormat,ExportOptions*);
[JScript] function SaveAs(String,XlFileFormat,ExportOptions): bool;

See Also

IRange Interface | NativeExcel Namespace | Factory Class | IRange.SaveAs(System.String, NativeExcel.XlFileFormat) method | IWorksheet.SaveAs(System.IO.Stream, NativeExcel.XlFileFormat) method | IWorkbook.SaveAs(System.IO.Stream, NativeExcel.XlFileFormat) method