Save(Stream,ExcelFileType,String) Method
In This Topic
Save the workbook to stream, it will use the specified file type as the file format, the file will be encrypt if the password is not null.
Syntax
Parameters
- outStream
- The stream the workbook will be saved in
- workbookType
- the ExcelFileType specifics the file type. there are two major file type in Excel, if you want to save an Excel 97-2003 compatible file, use GrapeCity.Excel.ExcelFileType.Biff, otherwise, use ExcelFileType.OpenXML to save a Excel 2007 or later file.
- password
- The password which will be used to encrypt the file.
See Also