XlsWorkbook
SaveAs Method (Stream, String)
|
Saves the active sheet to the specified stream using the given separator.
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,
string separator
)
Public Sub SaveAs (
stream As Stream,
separator As String
)
public:
virtual void SaveAs(
Stream^ stream,
String^ separator
) sealed
abstract SaveAs :
stream : Stream *
separator : string -> unit
override SaveAs :
stream : Stream *
separator : string -> unit
Parameters
-
stream
-
Type:
System.IO
Stream
The stream to save the sheet to.
-
separator
-
Type:
System
String
The separator to use when saving the sheet.
Implements
IWorkbook
SaveAs(Stream, String)
Exceptions
Exception
|
Condition
|
ArgumentNullException
|
Thrown if the ActiveSheet is null or if the ActiveSheet is an "Evaluation Warning" sheet at the last index of the Worksheets collection.
|
See Also