SaveAs(Stream,FileFormat,String,ExportContext) Method
In This Topic
Saves this
IWorkbook to the specified
System.IO.Stream.
Syntax
Parameters
- stream
- A System.IO.Stream object indicates the stream to save to.
- fileFormat
- A GrapeCity.Spreadsheet.IO.FileFormat value indicates the file format when saving the workbook.
- password
- A case-sensitive string (no more than 15 characters) that indicates the protection password to be given to the file.
- context
- An GrapeCity.Spreadsheet.IO.OpenXml.ExportContext object indicates the export context.
Return Value
true
if this workbook is saved successful, false
otherwise.
See Also