Spread Silverlight Documentation
OpenXml(Stream) Method
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class > OpenXml Method : OpenXml(Stream) Method
The XML stream.
Loads the XML stream to build a new worksheet.
Syntax
'Declaration
 
Public Overloads Sub OpenXml( _
   ByVal xmlStream As System.IO.Stream _
) 
'Usage
 
Dim instance As Worksheet
Dim xmlStream As System.IO.Stream
 
instance.OpenXml(xmlStream)
public void OpenXml( 
   System.IO.Stream xmlStream
)

Parameters

xmlStream
The XML stream.
Example
This example uses the OpenXml method.
System.IO.Stream stream;
stream = System.IO.File.Open("c:\\zipfile\\spread.xml", System.IO.FileMode.Open);
gcSpreadSheet1.Sheets[0].OpenXml(stream); 
Dim stream As System.IO.Stream
stream = System.IO.File.Open("c:\zipfile\spread.xmlv", System.IO.FileMode.Open)
GcSpreadSheet1.Sheets(0).OpenXml(stream)
See Also

Reference

Worksheet Class
Worksheet Members
Overload List