Spread Silverlight Documentation
OpenXml Method (GcSpreadSheet)
Example 


The XML stream.
Loads the data on the sheet from the specified XML stream.
Syntax
'Declaration
 
Public 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, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

GcSpreadSheet Class
GcSpreadSheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.