Spread WPF Documentation
OpenXml(Stream) Method
Example 


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)
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

GcSpreadSheet Class
GcSpreadSheet Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.