Spread WPF 17
GrapeCity.Windows.SpreadSheet.UI Namespace / GcSpreadSheet Class / SaveExcel Method / SaveExcel(Stream,ExcelFileFormat,ExcelSaveFlags,String) Method
The stream to save to.
The file format.
Options for saving to a file.
The file password.


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

    Parameters

    stream
    The stream to save to.
    format
    The file format.
    saveFlags
    Options for saving to a file.
    password
    The file password.
    See Also