Spread WPF Documentation
GrapeCity.Windows.SpreadSheet.Data Namespace / Workbook Class / SaveExcel Method
The saved stream.
The saved Excel format.
The save flag.
The file password.


In This Topic
    SaveExcel Method (Workbook)
    In This Topic
    Saves the control to an Excel Compound Document File stream.
    Syntax
    'Declaration
     
    Public Sub SaveExcel( _
       ByVal stream As Stream, _
       ByVal workbookType As ExcelFileFormat, _
       ByVal saveFlags As ExcelSaveFlags, _
       Optional ByVal password As String _
    ) 
    'Usage
     
    Dim instance As Workbook
    Dim stream As Stream
    Dim workbookType As ExcelFileFormat
    Dim saveFlags As ExcelSaveFlags
    Dim password As String
     
    instance.SaveExcel(stream, workbookType, saveFlags, password)
    public void SaveExcel( 
       Stream stream,
       ExcelFileFormat workbookType,
       ExcelSaveFlags saveFlags,
       string password
    )

    Parameters

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