Document rendering solution

XLSX file viewer for C# .NET applications

.NET document viewer API to read, render and display XLSX file in any type of C#, ASP.NET, VB.NET & .NET Core applications. View the rendered files with true formatting & layout in HTML5, PDF or as an image using a few lines of the code.

Steps to render XLSX file in C#

With GroupDocs.Viewer you can render XLSX to HTML, JPEG, PNG or PDF in a few steps.

  1. Install GroupDocs.Viewer for .NET using your favorite package manager.
  2. Create an instance of Viewer class and load the XLSX file with full path.
  3. Set options to render XLSX file into HTML, PNG, JPEG or PDF format.
  4. Render file and check output in the current directory.

// Set up input XLSX file
string filePath = "input.xlsx";

// Instantiate GroupDocs.Viewer
using (Viewer viewer = new Viewer(filePath))
    // Set view options
    HtmlViewOptions viewOptions = HtmlViewOptions.ForEmbeddedResources();
    // Render XLSX file to HTML with embedded resources
dotnet add package GroupDocs.Viewer
click to copy
More examples Documentation

About GroupDocs.Viewer for .NET API

Start viewing 190+ popular document formats in your .NET applications using GroupDocs.Viewer for .NET APIs by adding a few lines of code. Developers can easily display PDF, Word Processing, Excel Spreadsheet, Presentation, Visio, Project, Outlook and many other popular document formats in HTML5, image or PDF modes. The document rendering is fast, identical to the original source file, and it does not require installing additional software or any other external libraries.
Learn more
About illustration

Ready to get started?

Try GroupDocs.Viewer features for free or request a license

Render other file formats using C#

Multi-format documents and images viewer API for .NET. View some of the popular file formats below without any external viewers.