Spread WPF Documentation
SaveExcel Method (Workbook)


GrapeCity.Windows.SpreadSheet.Data Namespace > Workbook Class : SaveExcel Method
The saved stream.
The saved Excel format.
The save flag.
The file password.
Saves the control to an Excel Compound Document File stream.
Syntax
'Declaration
 
Public Sub SaveExcel( _
   ByVal stream As System.IO.Stream, _
   ByVal workbookType As ExcelFileFormat, _
   ByVal saveFlags As ExcelSaveFlags, _
   Optional ByVal password As System.String _
) 
'Usage
 
Dim instance As Workbook
Dim stream As System.IO.Stream
Dim workbookType As ExcelFileFormat
Dim saveFlags As ExcelSaveFlags
Dim password As System.String
 
instance.SaveExcel(stream, workbookType, saveFlags, password)
public void SaveExcel( 
   System.IO.Stream stream,
   ExcelFileFormat workbookType,
   ExcelSaveFlags saveFlags,
   System.string password
)

Parameters

stream
The saved stream.
workbookType
The saved Excel format.
saveFlags
The save flag.
password
The file password.
See Also

Reference

Workbook Class
Workbook Members