Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / Workbook Class / OpenExcel Method / OpenExcel(Stream) Method
The stream that contains the Excel Compound Document File.


In This Topic
    OpenExcel(Stream) Method
    In This Topic
    Opens an Excel Compound Document File and loads it into GcSpreadSheet.
    Syntax
    'Declaration
     
    Public Overloads Sub OpenExcel( _
       ByVal stream As Stream _
    ) 
    'Usage
     
    Dim instance As Workbook
    Dim stream As Stream
     
    instance.OpenExcel(stream)
    public void OpenExcel( 
       Stream stream
    )

    Parameters

    stream
    The stream that contains the Excel Compound Document File.

    Return Value

    Whether the file opened successfully.
    Exceptions
    ExceptionDescription
    No stream is specified or the specified stream is null.
    No stream is specified or the specified stream is empty.
    Remarks
    For performance considerations, this method suspends all events during a file load.
    See Also