Spread WPF Documentation
OpenExcel(Stream,String,Int32) Method


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.
Opens an Excel Compound Document File and loads it into GcSpreadSheet.
Syntax
'Declaration
 
Public Overloads Sub OpenExcel( _
   ByVal stream As System.IO.Stream, _
   ByVal password As System.String, _
   ByVal sheetIndex As System.Integer _
) 
'Usage
 
Dim instance As GcSpreadSheet
Dim stream As System.IO.Stream
Dim password As System.String
Dim sheetIndex As System.Integer
 
instance.OpenExcel(stream, password, sheetIndex)
public void OpenExcel( 
   System.IO.Stream stream,
   System.string password,
   System.int sheetIndex
)

Parameters

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

Reference

GcSpreadSheet Class
GcSpreadSheet Members
Overload List