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


The stream that contains the Excel Compound Document File.
Opens an Excel Compound Document File and loads it into GcSpreadSheet.
Syntax
'Declaration
 
Public Overloads Function OpenExcelAsync( _
   ByVal stream As Stream _
) As IAsyncAction
'Usage
 
Dim instance As Workbook
Dim stream As Stream
Dim value As IAsyncAction
 
value = instance.OpenExcelAsync(stream)
public IAsyncAction OpenExcelAsync( 
   Stream stream
)

Parameters

stream
The stream that contains the Excel Compound Document File.

Return Value

Whether the file opened successfully.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionNo stream is specified or the specified stream is null.
System.ArgumentExceptionNo stream is specified or the specified stream is empty.
Remarks
For performance considerations, this method suspends all events during a 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