Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / FpSpread Class / SaveExcel Method / SaveExcel(Stream,ExcelSaveFlags,ExcelWarningList) Method
Stream to save the file to as an Excel Compound Storage file
Which parts of the spreadsheet to save
List of warning messages that occur during this operation
Example


In This Topic
    SaveExcel(Stream,ExcelSaveFlags,ExcelWarningList) Method
    In This Topic
    Saves the contents of the Spread component to the specified Excel file in a stream, keeping track of warnings.
    Syntax
    'Declaration
     
    
    Public Overloads Function SaveExcel( _
       ByVal stream As Stream, _
       ByVal saveFlags As ExcelSaveFlags, _
       ByVal warningList As ExcelWarningList _
    ) As Boolean
    'Usage
     
    
    Dim instance As FpSpread
    Dim stream As Stream
    Dim saveFlags As ExcelSaveFlags
    Dim warningList As ExcelWarningList
    Dim value As Boolean
     
    value = instance.SaveExcel(stream, saveFlags, warningList)

    Parameters

    stream
    Stream to save the file to as an Excel Compound Storage file
    saveFlags
    Which parts of the spreadsheet to save
    warningList
    List of warning messages that occur during this operation

    Return Value

    Boolean: true if successful; false otherwise
    Example
    See Also