GrapeCity.Xaml.SpreadSheet.UI
OpenExcelAsync(Stream,ExcelOpenFlags,Int32) Method


GrapeCity.Xaml.SpreadSheet.UI Namespace > GcSpreadSheet Class > OpenExcelAsync Method : OpenExcelAsync(Stream,ExcelOpenFlags,Int32) Method
The file stream.
The flag 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 Function OpenExcelAsync( _
   ByVal stream As Stream, _
   ByVal openFlags As ExcelOpenFlags, _
   ByVal sheetIndex As Integer _
) As IAsyncAction
'Usage
 
Dim instance As GcSpreadSheet
Dim stream As Stream
Dim openFlags As ExcelOpenFlags
Dim sheetIndex As Integer
Dim value As IAsyncAction
 
value = instance.OpenExcelAsync(stream, openFlags, sheetIndex)
public IAsyncAction OpenExcelAsync( 
   Stream stream,
   ExcelOpenFlags openFlags,
   int sheetIndex
)

Parameters

stream
The file stream.
openFlags
The flag used to open the file.
sheetIndex
The index of the sheet in Excel file.
See Also

Reference

GcSpreadSheet Class
GcSpreadSheet Members
Overload List