How to convert and view Excel 2003 SpreadSheetML files
SpreadsheetML is Excel 2003 document format in XML file. It can be opened by Microsoft Excel 2003 or later applications.
How to convert Excel 2003 SpreadSheetML files
Convert Excel 2003 SpreadSheetML to HTML
To convert Excel 2003 SpreadSheetML files to HTML with GroupDocs.Viewer for .NET use following code:
using (Viewer viewer = new Viewer("sample-excel-2003-xml.xml", new LoadOptions(FileType.Excel2003XML))
{
HtmlViewOptions options = HtmlViewOptions.ForEmbeddedResources("output.html");
viewer.View(options);
}
The following screenshot shows the output HTML file opened in a browser.
Convert Excel 2003 SpreadSheetML to JPG
To convert Excel 2003 SpreadSheetML files to JPG with GroupDocs.Viewer for .NET use following code:
using (Viewer viewer = new Viewer("sample-excel-2003-xml.xml", new LoadOptions(FileType.Excel2003XML))
{
JpgViewOptions options = new JpgViewOptions("output.jpg");
viewer.View(options);
}
The following screenshot shows the output JPG file opened in a Windows Photo Viewer application.
Convert Excel 2003 SpreadSheetML to PNG
To convert Excel 2003 SpreadSheetML files to PNG with GroupDocs.Viewer for .NET use following code:
using (Viewer viewer = new Viewer("sample-excel-2003-xml.xml", new LoadOptions(FileType.Excel2003XML))
{
PngViewOptions options = new PngViewOptions("output.png");
viewer.View(options);
}
The following screenshot shows the output PNG file opened in a Windows Photo Viewer application.
Convert Excel 2003 SpreadSheetML to PDF
To convert Excel 2003 SpreadSheetMLfiles to PDF with GroupDocs.Viewer for .NET use following code:
using (Viewer viewer = new Viewer("sample-excel-2003-xml.xml", new LoadOptions(FileType.Excel2003XML))
{
PdfViewOptions options = new PdfViewOptions("output.pdf");
viewer.View(options);
}
The following screenshot shows the output PDF file opened in an Acrobat Reader.
More resources
View Excel Files Online
Along with full-featured .NET library we provide simple but powerful free online Apps. View Excel XLS, XLSX, and XLSB files online with GroupDocs Viewer App.
GitHub Examples
You may easily run the code above and see the feature in action in our GitHub examples:
- GroupDocs.Viewer for .NET examples, plugins, and showcase
- GroupDocs.Viewer for Java examples, plugins, and showcase
- Document Viewer for .NET MVC UI Example
- Document Viewer for .NET App WebForms UI Modern Example
- Document Viewer for Java App Dropwizard UI Modern Example
- Document Viewer for Java Spring UI Example