Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpread Class / SaveExcel Method / SaveExcel(Stream,ExcelSaveFlags) Method
Stream
Save flag


In This Topic
    SaveExcel(Stream,ExcelSaveFlags) Method
    In This Topic
    Saves the content of the Spread component to the specified stream with the headers exported as data.
    Syntax
    'Declaration
     
    
    Public Overloads Function SaveExcel( _
       ByVal stream As Stream, _
       ByVal saveFlags As ExcelSaveFlags _
    ) As Boolean
    'Usage
     
    
    Dim instance As FpSpread
    Dim stream As Stream
    Dim saveFlags As ExcelSaveFlags
    Dim value As Boolean
     
    value = instance.SaveExcel(stream, saveFlags)
    public bool SaveExcel( 
       Stream stream,
       ExcelSaveFlags saveFlags
    )

    Parameters

    stream
    Stream
    saveFlags
    Save flag
    Exceptions
    ExceptionDescription
    No stream specified or specified stream is null
    See Also