How to convert and view Excel 2003 SpreadSheetML files

Introduction

SpreadsheetML is Excel 2003 document format in XML file. It can be opened by Microsoft Excel 2003 or later applications.

ExcelSpreadSheetML opened in Excel

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.

HTML converted Excel 2003 SpreadSheetML

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.

JPEG converted Excel 2003 SpreadSheetML

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.

PNG converted Excel 2003 SpreadSheetML

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.

PDF converted Excel 2003 SpreadSheetML

More resources

GitHub Examples

You may easily run the code above and see the feature in action in our GitHub examples:

Free Online App

Along with full-featured .NET library we provide simple but powerful free Apps. You are welcome to view Word, PDF, Excel, PowerPoint documents with free to use online GroupDocs Viewer App.