GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class > OpenXml Method : OpenXml(XmlReader) Method |
'Declaration Public Overloads Sub OpenXml( _ ByVal reader As System.Xml.XmlReader _ )
'Usage Dim instance As Worksheet Dim reader As System.Xml.XmlReader instance.OpenXml(reader)
public void OpenXml( System.Xml.XmlReader reader )
//WPF System.Xml.XmlTextReader reader = new System.Xml.XmlTextReader("C:\\controls\\SpreadX\\1.0.1.0\\WPF\\Samples\\Codes\\Spread Templates\\1040.ssxml"); gcSpreadSheet1.Sheets[0].OpenXml(reader); //Silverlight System.Xml.XmlReader xr = System.Xml.XmlReader.Create(fileName); gcSpread1.ActiveSheet.OpenXml(xr);
'WPF Dim reader as New System.Xml.XmlTextReader("C:\controls\SpreadX\1.0.1.0\\WPF\Samples\Codes\Spread Templates\1040.ssxml") gcSpreadSheet1.Sheets[0].OpenXml(reader) 'Silverlight Dim xr As New System.Xml.XmlReader.Create(fileName) GcSpread1.ActiveSheet.OpenXml(xr)
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