GroupDocs.Viewer
24.7.0
See the version list below for details.
dotnet add package GroupDocs.Viewer --version 24.7.0
NuGet\Install-Package GroupDocs.Viewer -Version 24.7.0
<PackageReference Include="GroupDocs.Viewer" Version="24.7.0" />
paket add GroupDocs.Viewer --version 24.7.0
#r "nuget: GroupDocs.Viewer, 24.7.0"
// Install GroupDocs.Viewer as a Cake Addin #addin nuget:?package=GroupDocs.Viewer&version=24.7.0 // Install GroupDocs.Viewer as a Cake Tool #tool nuget:?package=GroupDocs.Viewer&version=24.7.0
Document Viewer .NET API
Product Page | Docs |Demos| API Reference | Examples | Blog | Releases | Free Support | Temporary License
GroupDocs.Viewer 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
- Render documents to HTML, PNG, JPEG, or PDF formats.
- Retrieve basic details about documents, such as page count.
- Render HTML with embedded or external resources.
- Add text watermarks to documents.
- Add UI to your
ASP.NET Core
application with GroupDocs.Viewer.UI package.
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 GroupDocs.Viewer.CrossPlatform package instead of this one. 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, AI, PSD.
- Email: MSG, EML.
- Diagrams: VSDX, VSD.
- 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
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
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.6.2
- System.Text.Encoding.CodePages (>= 6.0.0)
- System.Text.Json (>= 6.0.0)
-
net6.0
- Aspose.Drawing.Common (>= 23.11.0)
- Microsoft.Extensions.DependencyModel (>= 6.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 7.0.0)
- Microsoft.Win32.Registry (>= 4.7.0)
- Newtonsoft.Json (>= 13.0.3)
- SkiaSharp (>= 2.88.6)
- SkiaSharp.NativeAssets.Linux.NoDependencies (>= 2.88.6)
- System.Diagnostics.DiagnosticSource (>= 7.0.0)
- System.Diagnostics.PerformanceCounter (>= 6.0.1)
- System.Drawing.Common (>= 6.0.0)
- System.Net.Http.Json (>= 8.0.0)
- System.Reflection.Emit (>= 4.7.0)
- System.Reflection.Emit.ILGeneration (>= 4.3.0)
- System.Security.Cryptography.Pkcs (>= 8.0.0)
- System.Security.Permissions (>= 6.0.0)
- System.Text.Encoding.CodePages (>= 8.0.0)
- System.Text.Json (>= 8.0.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on GroupDocs.Viewer:
Package | Downloads |
---|---|
GroupDocs.Viewer.UI.SelfHost.Api
GroupDocs.Viewer.UI.SelfHost.Api containing API implementation that is based on GroupDocs.Viewer for .NET see https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-.NET-UI for more details. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
24.10.0 | 0 | 11/1/2024 |
24.9.0 | 6,832 | 9/27/2024 |
24.8.0 | 22,569 | 8/30/2024 |
24.7.0 | 12,686 | 8/2/2024 |
24.6.0 | 8,167 | 7/2/2024 |
24.5.0 | 6,104 | 5/31/2024 |
24.4.0 | 4,723 | 4/30/2024 |
24.3.0 | 21,620 | 3/31/2024 |
24.2.0 | 18,669 | 2/29/2024 |
24.1.1 | 4,279 | 2/2/2024 |
23.12.0 | 130,022 | 12/27/2023 |
23.11.0 | 10,026 | 11/3/2023 |
23.10.0 | 11,079 | 10/5/2023 |
23.8.0 | 52,336 | 8/31/2023 |
23.6.0 | 47,432 | 6/23/2023 |
23.4.0 | 17,019 | 4/28/2023 |
23.3.0 | 121,368 | 3/31/2023 |
23.1.0 | 103,370 | 1/27/2023 |
22.11.0 | 8,750 | 11/30/2022 |
22.9.0 | 10,516 | 9/30/2022 |
22.7.0 | 26,780 | 7/29/2022 |
22.5.0 | 113,005 | 5/4/2022 |
22.3.0 | 36,393 | 3/16/2022 |
22.1.1 | 44,111 | 1/19/2022 |
22.1.0 | 3,385 | 1/19/2022 |
21.12.0 | 32,657 | 12/22/2021 |
21.11.0 | 8,643 | 11/18/2021 |
21.10.0 | 11,470 | 10/21/2021 |
21.9.0 | 9,978 | 9/16/2021 |
21.8.0 | 13,306 | 8/17/2021 |
21.7.0 | 15,469 | 7/26/2021 |
21.6.0 | 7,574 | 6/18/2021 |
21.5.0 | 9,813 | 5/27/2021 |
21.4.1 | 31,316 | 4/28/2021 |
21.4.0 | 1,202 | 4/19/2021 |
21.3.0 | 34,504 | 3/19/2021 |
21.2.0 | 31,854 | 2/18/2021 |
21.1.0 | 26,858 | 1/21/2021 |
20.12.0 | 27,921 | 12/24/2020 |
20.11.0 | 31,942 | 11/18/2020 |
20.10.0 | 3,067 | 10/26/2020 |
20.9.0 | 121,062 | 9/29/2020 |
20.8.0 | 38,793 | 8/31/2020 |
20.7.0 | 44,150 | 7/28/2020 |
20.6.1 | 45,618 | 7/6/2020 |
20.6.0 | 2,035 | 6/26/2020 |
20.5.0 | 43,725 | 5/27/2020 |
20.4.0 | 92,643 | 4/28/2020 |
20.3.0 | 43,452 | 3/27/2020 |
20.2.0 | 44,769 | 2/26/2020 |
20.1.0 | 4,346 | 1/28/2020 |
19.12.0 | 42,904 | 12/27/2019 |
19.11.0 | 40,110 | 11/29/2019 |
19.10.0 | 5,155 | 10/31/2019 |
19.9.0 | 2,341 | 9/12/2019 |
19.8.0 | 1,667 | 8/10/2019 |
19.6.0 | 2,544 | 6/7/2019 |
19.5.0 | 14,368 | 5/7/2019 |
19.4.0 | 20,774 | 4/5/2019 |
19.3.1 | 11,875 | 3/23/2019 |
19.3.0 | 3,313 | 3/8/2019 |
19.2.0 | 2,335 | 2/6/2019 |
19.1.0 | 2,095 | 1/9/2019 |
18.12.0 | 1,408 | 12/6/2018 |
18.11.0 | 8,097 | 11/2/2018 |
18.10.0 | 8,667 | 10/3/2018 |
18.9.0 | 1,610 | 9/4/2018 |
18.8.1 | 2,322 | 8/14/2018 |
18.8.0 | 1,292 | 8/2/2018 |
18.7.0 | 1,818 | 7/3/2018 |
18.6.1 | 1,447 | 6/13/2018 |
18.6.0 | 1,441 | 6/6/2018 |
18.5.0 | 1,828 | 5/2/2018 |
18.4.0 | 1,446 | 4/4/2018 |
18.3.0 | 3,481 | 3/2/2018 |
18.1.0 | 1,753 | 1/19/2018 |
17.12.0 | 1,974 | 12/21/2017 |
17.11.0 | 45,197 | 11/22/2017 |
17.10.0 | 1,654 | 10/26/2017 |
17.9.0 | 1,854 | 9/28/2017 |
17.9.0-alpha-20170928052141 | 915 | 9/28/2017 |
17.9.0-alpha-20170928045543 | 919 | 9/28/2017 |