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


GrapeCity.Windows.SpreadSheet.UI Namespace > GcSpreadSheet Class > OpenExcel Method : OpenExcel(String,ExcelOpenFlags,Int32) Method
The path to load the file from.
The flags used to open the file.
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 file As System.String, _
   ByVal openFlags As ExcelOpenFlags, _
   ByVal sheetIndex As System.Integer _
) 
'Usage
 
Dim instance As GcSpreadSheet
Dim file As System.String
Dim openFlags As ExcelOpenFlags
Dim sheetIndex As System.Integer
 
instance.OpenExcel(file, openFlags, sheetIndex)
public void OpenExcel( 
   System.string file,
   ExcelOpenFlags openFlags,
   System.int sheetIndex
)

Parameters

file
The path to load the file from.
openFlags
The flags used to open the file.
sheetIndex
The index of the sheet in Excel file.
See Also

Reference

GcSpreadSheet Class
GcSpreadSheet Members
Overload List