Spread WPF Documentation
OpenXml(Stream) Method
Example 


GrapeCity.Windows.SpreadSheet.UI Namespace > GcSpreadSheet Class > OpenXml Method : OpenXml(Stream) Method
The XML stream.
Loads the data on the sheet from the specified XML stream.
Syntax
'Declaration
 
Public Overloads Sub OpenXml( _
   ByVal xmlStream As System.IO.Stream _
) 
'Usage
 
Dim instance As GcSpreadSheet
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\\myser.xml", System.IO.FileMode.Open);
gcSpreadSheet1.OpenXML(stream);
gcSpreadSheet1.Invalidate();
Dim stream As System.IO.Stream
stream = System.IO.File.Open("c:\zipfile\myser.xml", System.IO.FileMode.Open)
GcSpreadSheet1.OpenXML(stream)
See Also

Reference

GcSpreadSheet Class
GcSpreadSheet Members
Overload List