Spread Silverlight Documentation
OpenXml(Stream) Method
Example 


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

Worksheet Class
Worksheet Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.