Skip to main content
net6.0

This is a cross-platform version of GroupDocs.Viewer for .NET. GroupDocs.Viewer for .NET is a powerful document viewer API that supports over 170 file types and enables .NET developers to easily render files to various formats, such as PDF, HTML, JPG, or PNG. With this API, you can seamlessly render a wide range of file types, including popular OpenDocument and Microsoft Office formats like DOCS, XLSX, and PPTX, as well as specialized CAD and graphic editor files like DWG, DXF, PSD, AI, and CDR.

Published
Dec 9, 2025
10mo ago
Total Downloads
45.0K
45,019

Deprecated Package Version

Reason: Legacy

GroupDocs.Viewer.CrossPlatform has been merged into GroupDocs.Viewer and receives no further updates. 26.8.0 is the final release: it ships no assemblies and only forwards to GroupDocs.Viewer. As of 26.8.0 GroupDocs.Viewer ships per-TFM runtime packages. On net6.0 it resolves GroupDocs.Viewer.Net60, which carries the same GroupDocs.CrossPlatform.NativeAssets and SkiaSharp Linux assets this package did, and runs on Windows, Linux and macOS. To migrate, replace the reference with GroupDocs.Viewer. No code changes are needed: the assembly name, namespaces and public API are unchanged, and nothing is dropped - every public member of this package is present in the replacement, which also adds MS Project (MPP/MPT/MPX) rendering. In case of any issues let us know by posting at https://forum.groupdocs.com/.

Suggested alternative:GroupDocs.Viewer*

Install

dotnet add package GroupDocs.Viewer.CrossPlatform --version 25.11.0
ProductVersions
.NET
net6.0

README

Document Viewer .NET API

Package version Package downloads

banner

Product Page | Docs | Demos | API Reference | Examples | Blog | Releases | Free Support | Temporary License

This is cross-platform version of GroupDocs.Viewer package. GroupDocs.Viewer.CrossPlatform is a class-library that enables you to build file viewer applications for mobile, web, and desktop platforms using C#, F#, or VB.NET. It supports rendering over 170 popular file formats in HTML, PNG, JPEG, and PDF. Our library is self-sufficient and doesn't depend on any third-party software, such as Microsoft Word, OpenOffice, and other office suites.

Features

See the Features overview documentation topic for more details.

Supported platforms

  • Windows: Microsoft Windows XP and later, Microsoft Windows Server 2003 and later.
  • Linux: Ubuntu, OpenSUSE, CentOS and others.
  • Mac OS X Catalina (10.15) and later.

If you build applications for Linux and macOS, we recommend using this package instead GroupDocs.Viewer. GroupDocs.Viewer.CrossPlatform does not use on System.Drawing.Common as a graphical subsystem, which is only supported on Windows.

See the System requirements documentation topic for more details.

Supported formats

  • Word: DOCX, DOC, ODT, RTF, TXT.
  • PowerPoint: PPTX, PPT, ODP.
  • Excel: XLSX, XLS, Numbers.
  • Fixed Page Layout: PDF, XPS.
  • Graphics: CDR, DCM.
  • Email: MSG, EML.
  • Other file formats: JSON, XML, VCF.

See the Supported file formats documentation topic for a complete list of supported formats.

Getting Started

To get started with GroupDocs.Viewer.CrossPlatfom first you have to install the package using the command for your tool that you can find at the beginning of this page.

You can run the following code snippets in C# to see how our library works. Also feel free to check out the GitHub Repository for other common use cases.

Render PDF to HTML

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

// Instantiate viewer
using (var viewer = new Viewer("resume.pdf"))
{
    // Set output HTML options, one file per page
    var viewOptions = HtmlViewOptions.ForEmbeddedResources("page{0}.html");
    
    // Render PDF to HTML with embedded resources        
    viewer.View(viewOptions);
}

Render PPTX to PDF

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

// Instantiate viewer
using (var viewer = new Viewer("solution.pptx"))
{
    // Set output PDF options       
    var viewOptions = new PdfViewOptions("solution.pdf");
    
    // Render PPTX to PDF       
    viewer.View(viewOptions);
}

Render DOCX to PNG

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

// Instantiate viewer
using (var viewer = new Viewer("flyer.docx"))
{
    // Set output PDF options       
    var viewOptions = new PngViewOptions("page{0}.png");
    
    // Render DOCX to PNG       
    viewer.View(viewOptions);
}

Support

Our technical support is available to all users, including those evaluating our product. We offer assistance through our Free Support Forum and Paid Support Helpdesk. Let us know if you have any questions or issues, and we'll do our best to help you.

Product Page | Docs | Demos | API Reference | Examples | Blog | Releases | Free Support | Temporary License

Changes from Previous Version

No structural changes between v25.9.0 and v25.11.0.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

NuGet marks this package as deprecated and points to GroupDocs.Viewer as an alternative.No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.The published metadata declares 19 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.