Description |
---|
Excerpt |
---|
Saves a specified Workbook as a BIFF8 format (Excel 97 or later).xls file. |
Signature | C# | C# |
---|---|---|
Wiki Markup | ||
{description}
{excerpt}Saves a specified [Workbook|Workbook] as a BIFF8 format \(Excel 97 or later\).xls file.{excerpt}
{signature:C#}
public virtual void Save(Workbook workbook, System.IO.Stream stream)
| ||
Signature | ||
{signature}{signature:vb.net | vb.net | }
Public Overridable Sub Save(ByVal workbook As Workbook, ByVal stream As System.IO.Stream)
|
Parameters |
---|
...
A Workbook
object representing the workbook to save.
...
The output stream to write to. This stream must be open and writable. ExcelWriter will not close this stream; the calling program is responsible for closing the stream and releasing the resource.
Exceptions |
---|
Exception | System.Exception | System.Exception | |
---|---|---|---|
If there is a problem creating, opening, or writing to the file specified, or reading from the workbook object. | |||
Example | |||
Code Block | | csharp | csharp |
title | C# | ||
Code Block | vb.net | title |