Spread WPF 17
GrapeCity.Windows.SpreadSheet.UI Namespace / GcSpreadSheet Class / OpenExcel Method / OpenExcel(Stream,String,Int32) Method
The file stream.
The file password.
The index of the sheet in Excel file.


In This Topic
    OpenExcel(Stream,String,Int32) 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, _
       ByVal password As String, _
       ByVal sheetIndex As Integer _
    ) 
    'Usage
     
    Dim instance As GcSpreadSheet
    Dim stream As Stream
    Dim password As String
    Dim sheetIndex As Integer
     
    instance.OpenExcel(stream, password, sheetIndex)
    public void OpenExcel( 
       Stream stream,
       string password,
       int sheetIndex
    )

    Parameters

    stream
    The file stream.
    password
    The file password.
    sheetIndex
    The index of the sheet in Excel file.
    See Also