GroupDocs.Viewer for .NET

groupdocs-viewer-net-home NuGet package NuGet downloads

Release notes Download ZIP or MSI Download from NuGet Online app

GroupDocs.Viewer for .NET is a .NET document viewer and rendering API for C# that lets developers view and render 190+ document and image formats without installing Microsoft Office or other third-party software. It supports popular formats such as DOCX, XLSX, PPTX, PDF, CAD drawings, emails, archives, and images, and can render documents to HTML, PDF, PNG, or JPG.

Quick example

The following C# example shows how to render a DOCX document to HTML with embedded resources:

using GroupDocs.Viewer;
using GroupDocs.Viewer.Options;

// Render a DOCX file to HTML with embedded resources
using (Viewer viewer = new Viewer("sample.docx"))
{
    viewer.View(HtmlViewOptions.ForEmbeddedResources("page_{0}.html"));
}

Starting with version 26.8, GroupDocs.Viewer is distributed as a NuGet metapackage. Install the GroupDocs.Viewer package and NuGet automatically restores the runtime package that matches your project’s target framework, such as net462, net6.0, or net6.0-windows. See Installation for details.

Features

  • 190+ Supported File Formats: Render Microsoft Office, PDF, HTML, CAD, email, archives, images, and more.
  • Multiple Rendering Formats: Render documents to HTML, PDF, PNG, and JPG.
  • Embedded or External Resources: Produce self-contained HTML pages or HTML with separate CSS, fonts, and images.
  • Document Format Detection: Automatically detects the format of input files.
  • Windows, Linux, and macOS: One package covers .NET Framework 4.6.2+, .NET 6, and .NET 6 Windows.

Supported File Formats

GroupDocs.Viewer supports 190+ file formats across documents, spreadsheets, presentations, images, emails, CAD files, archives, and other commonly used file types. See the full list of supported formats.

  • Microsoft Office: Word, Excel, PowerPoint
  • PDF: PDF, PDF/A
  • OpenDocument: ODT, ODS, ODP
  • Images: JPEG, PNG, TIFF, GIF, BMP, PSD
  • Email: EML, MSG, PST, OST
  • eBook: EPUB, MOBI
  • Text/Markdown: TXT, MD
  • HTML/Web: HTML, MHTML, CHM
  • AutoCAD: DWG, DXF, DWF
  • Archives: ZIP, RAR, 7Z

Getting Started

To start viewing documents in a .NET application, check Quick Start Guide, System Requirements, install the GroupDocs.Viewer, and review the Supported File Formats and How to Run Examples guides.

Developer Guide

The Developer Guide provides practical C# examples for working with GroupDocs.Viewer for .NET. Learn how to load documents, view and render files, retrieve document information, render specific pages, configure HTML/PDF/image output, and customize document rendering.

Technical Support

If you encounter an issue while using GroupDocs.Viewer for .NET or have a question about document rendering, visit the Technical Support page. It provides available support channels, troubleshooting resources, and ways to report issues or request assistance.

Close
Loading

Analyzing your prompt, please hold on...

An error occurred while retrieving the results. Please refresh the page and try again.