GrapeCity.Xaml.SpreadSheet.Data
OpenExcelAsync(Stream,ExcelOpenFlags) Method


GrapeCity.Xaml.SpreadSheet.Data Namespace > Workbook Class > OpenExcelAsync Method : OpenExcelAsync(Stream,ExcelOpenFlags) Method
The stream that contains an Excel Compound Document File.
The open flags.
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 _
) As IAsyncAction
'Usage
 
Dim instance As Workbook
Dim stream As Stream
Dim openFlags As ExcelOpenFlags
Dim value As IAsyncAction
 
value = instance.OpenExcelAsync(stream, openFlags)
public IAsyncAction OpenExcelAsync( 
   Stream stream,
   ExcelOpenFlags openFlags
)

Parameters

stream
The stream that contains an Excel Compound Document File.
openFlags
The open flags.
Remarks
For performance considerations, this method suspends all events during the file load.
See Also

Reference

Workbook Class
Workbook Members
Overload List