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


The stream that contains an Excel Compound Document File.
The open flags.
The index of 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 Workbook
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 stream that contains an Excel Compound Document File.
openFlags
The open flags.
sheetIndex
The index of sheet in Excel file.
Remarks
For performance considerations, this method suspends all events during the file load.
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

Workbook Class
Workbook Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options