Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / FpSpread Class / SaveExcel Method / SaveExcel(Stream,String) Method
Stream to save the file to as an Excel Compound Storage file
Password of file
Example


In This Topic
    SaveExcel(Stream,String) Method
    In This Topic
    Saves the contents of the Spread component to the specified Excel file in a stream.
    Syntax
    'Declaration
     
    Public Overloads Function SaveExcel( _
       ByVal stream As Stream, _
       ByVal password As String _
    ) As Boolean
    'Usage
     
    Dim instance As FpSpread
    Dim stream As Stream
    Dim password As String
    Dim value As Boolean
     
    value = instance.SaveExcel(stream, password)
    public bool SaveExcel( 
       Stream stream,
       string password
    )

    Parameters

    stream
    Stream to save the file to as an Excel Compound Storage file
    password
    Password of file
    Example
    This examples uses the SaveExcel method.
    See Also