GroupDocs.Viewer
20.5.0
See the version list below for details.
dotnet add package GroupDocs.Viewer --version 20.5.0
NuGet\Install-Package GroupDocs.Viewer -Version 20.5.0
<PackageReference Include="GroupDocs.Viewer" Version="20.5.0" />
paket add GroupDocs.Viewer --version 20.5.0
#r "nuget: GroupDocs.Viewer, 20.5.0"
// Install GroupDocs.Viewer as a Cake Addin #addin nuget:?package=GroupDocs.Viewer&version=20.5.0 // Install GroupDocs.Viewer as a Cake Tool #tool nuget:?package=GroupDocs.Viewer&version=20.5.0
Document Viewer .NET API
This robust .NET on-premise file viewer API supports rendering of 130+ format types in HTML, image & PDF formats. 90+ formats are supported for auto-detection.
Document Viewer Processing Features
- View documents by rendering in an HTML, image or PDF format.
- Reuse common resources across several HTML pages.
- Make each HTML page self=sufficient by rendering it with embedded resources.
- Render files in the lossless PNG file format or lossy JPG compressed image format.
- Apply page rotation or change page order when rendering a document to HTML or image formats.
- Apply the specified text as watermark to all pages while being rendered into HTML or image.
- Boost document loading speed to optimize application performance via caching.
- Perform document text extract for PNG and JPG formats.
- Fetch basic information about source documents.
- Extract list of folders contained in an archive.
- Fetch list of layers and layouts from a CAD drawing.
- Get list of folders contained in an Outlook data file.
- Extract information about PDF document printing restrictions.
- Fetch start and end dates of a project from MS Project file.
- Minify HTML & CSS to improve the rendering process.
- Render to responsive HTML.
- Apply watermark on the output pages of HTML, image or PDF files.
- Render documents with comments, notes, and custom fonts.
- Replace missing fonts while rendering.
New Features in Version 20.5
- Supports viewing MS Project documents with notes.
- Added OpenDocument Flat XML Presentation (
.FODP
) file format support. - Added Flat XML ODF Template (
.FODG
) file format support. - Added IGES Drawing File (
.IGS
) file format support. - Added Common File Format File (
.CF2
) file-format support. - Added Wavefront 3D Object File (
.OBJ
) file-format support. - Convert
CAD
drawings toSVG
.
Enhancements in Version 20.5
- Improved default font support when converting PowerPoint files.
Behavior changes
Starting from 20.5
the CAD
drawings are converted to SVG
instead of PNG
for better quality. For more detailes, please refer to How to convert CAD drawings to HTML article.
For the detailed notes, please visit GroupDocs.Viewer for .NET 20.5 Release Notes.
HTML, Image, PDF Rendering Supported Formats
Microsoft Word: DOC, DOCM, DOCX, DOT, DOTM, DOTX Microsoft Excel: XLS, XLSB, XLSM, XLSX, XLT, XLTX, XLAM Microsoft PowerPoint: PPT, PPTX, PPTM, PPS, PPSX, PPSM, POT, POTM, POTX Microsoft Visio: VDW, VDX, VSD, VSDM, VSDX, VSS, VSSM, VSSX, VST, VSTM, VSTX, VSX, VTX Microsoft Project: MPP, MPT, MPX Microsoft OneNote: ONE OpenOffice: ODG, OTG, OXPS, ODP, OTP, ODS, OTS, ODT, OTT, OXPS AutoCAD: DGN, DWF, DWT, DWG, DXF CorelDraw: CDR Adobe Photoshop: PSD Programming: CS, VB, AS, AS3, ASM, BAT, C, CC, CMAKE, CPP, CSS, CXX, ERB, GROOVY, H, HAML, HH, JAVA, JS, JSON, LESS, LOG, M, MAKE, MD, ML, MM, PHP, PL, PROPERTIES, PY, RB, RST, SASS, SCALA, SCM, SCRIPT, SH, SML, SQL, VIM, YAML Image: GIF, ICO, JP2, JPF, JPX, JPM, J2C, J2K, JPC, JPG, JPEG, SVG, TIF, TIFF Markup: HTML, MHT, MHTML, MD Portable: PDF Archive: TAR, ZIP, BZ2 Email: EML, EMLX, MSG, OST, PST Metafile: CGM, EMF, WMF Other: IFC, STL, PS, XPS, TEX, SXC, DJVU, DNG, DIB, EPS
Supported Formats for Auto Detection
Microsoft Word: DOC, DOCM, DOCX, DOT, DOTM, DOTX Microsoft Excel: XLS, XLSB, XLSM, XLSX, XLTX, XLAM Microsoft PowerPoint: PPT, PPTX, PPTM, PPS, PPSX, PPSM, POT, POTM, POTX Microsoft Visio: VDW, VDX, VSD, VSDM, VSDX, VSS, VSSM, VSSX, VST, VSTM, VSTX, VSX, VTX Microsoft Project: MPP, MPT, MPX Microsoft OneNote: ONE OpenOffice: ODG, OTG, OXPS, ODP, OTP, ODS, OTS, ODT, OTT, OXPS AutoCAD: DGN, DWF, DWT, DWG, DXF CorelDraw: CDR Adobe Photoshop: PSD Programming: CS, VB Image: GIF, ICO, JP2, JPF, JPX, JPM, J2C, J2K, JPC, JPG, JPEG, SVG, TIF, TIFF Markup: HTML, MD Portable: PDF Archive: TAR, ZIP, BZ2 Email: EML, EMLX, MSG, OST, PST Metafile: CGM, EMF, WMF Other: IFC, STL, PS, XPS, TEX, SXC, DJVU, DNG, DIB, EPS
Platform Independence
GroupDocs.Viewer for .NET does not require any external software or third party tool to be installed. GroupDocs.Viewer for .NET supports any 32-bit or 64-bit operating system where .NET or Mono framework is installed. The other details are as follows:
Microsoft Windows: Microsoft Windows Desktop (x86, x64) (XP & up), Microsoft Windows Server (x86, x64) (2000 & up), Windows Azure Mac OS: Mac OS X Linux: Linux (Ubuntu, OpenSUSE, CentOS and others) Development Environments: Microsoft Visual Studio (2010 & up), Xamarin.Android, Xamarin.IOS, Xamarin.Mac, MonoDevelop 2.4 and later. Supported Frameworks: GroupDocs.Conversion for .NET supports .NET and Mono frameworks.
Getting Started with GroupDocs.Viewer for .NET
Are you ready to give GroupDocs.Viewer for .NET a try? Simply execute Install-Package GroupDocs.Viewer
from Package Manager Console in Visual Studio to fetch & reference GroupDocs.Viewer assembly in your project. If you already have GroupDocs.Viewer for .Net and want to upgrade it, please execute Update-Package GroupDocs.Viewer
to get the latest version.
Please check the GitHub Repository for other common usage scenarios.
Use C# Code to Render All Layouts of a DWG CAD Drawing
string outputDirectory = @"C:\output\RenderAllLayouts";
string pageFilePathFormat = Path.Combine(outputDirectory, "page_{0}.html");
using (Viewer viewer = new Viewer("with_layers_and_layouts.dwg"))
{
HtmlViewOptions options = HtmlViewOptions.ForEmbeddedResources(pageFilePathFormat);
options.CadOptions.RenderLayouts = true;
viewer.View(options);
}
Apply Password to PDF File via C# Code
string outputDirectory = @"C:\output\ProtectPdfDocument";
string filePath = Path.Combine(outputDirectory, "output.pdf");
using (Viewer viewer = new Viewer("sample.docx"))
{
// set PDF file security
Security security = new Security();
security.DocumentOpenPassword = "o123";
security.PermissionsPassword = "p123";
security.Permissions = Permissions.AllowAll ^ Permissions.DenyPrinting;
PdfViewOptions options = new PdfViewOptions(filePath);
options.Security = security;
viewer.View(options);
}
Product Page | Documentation | Demo | API Reference | Examples | Blog | Free Support | Temporary License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net20 is compatible. net35 was computed. net40 was computed. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 2.0
- No dependencies.
-
.NETStandard 2.0
- Microsoft.Extensions.DependencyModel (>= 2.0.4)
- Microsoft.Win32.Registry (>= 4.7.0)
- Portable.BouncyCastle (>= 1.8.5.2)
- SkiaSharp (>= 1.68.1.1)
- System.Diagnostics.PerformanceCounter (>= 4.5.0)
- System.Drawing.Common (>= 4.7.0)
- System.Reflection.Emit (>= 4.7.0)
- System.Reflection.Emit.ILGeneration (>= 4.7.0)
- System.Security.Permissions (>= 4.5.0)
- System.Text.Encoding.CodePages (>= 4.7.0)
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.11.0 | 4,222 | 11/28/2024 |
24.10.0 | 4,008 | 11/1/2024 |
24.9.0 | 14,326 | 9/27/2024 |
24.8.0 | 57,431 | 8/30/2024 |
24.7.0 | 17,635 | 8/2/2024 |
24.6.0 | 10,854 | 7/2/2024 |
24.5.0 | 7,187 | 5/31/2024 |
24.4.0 | 4,910 | 4/30/2024 |
24.3.0 | 25,362 | 3/31/2024 |
24.2.0 | 19,347 | 2/29/2024 |
24.1.1 | 4,873 | 2/2/2024 |
23.12.0 | 130,151 | 12/27/2023 |
23.11.0 | 10,934 | 11/3/2023 |
23.10.0 | 11,235 | 10/5/2023 |
23.8.0 | 52,645 | 8/31/2023 |
23.6.0 | 47,723 | 6/23/2023 |
23.4.0 | 17,286 | 4/28/2023 |
23.3.0 | 135,238 | 3/31/2023 |
23.1.0 | 112,223 | 1/27/2023 |
22.11.0 | 9,299 | 11/30/2022 |
22.9.0 | 10,623 | 9/30/2022 |
22.7.0 | 26,910 | 7/29/2022 |
22.5.0 | 115,200 | 5/4/2022 |
22.3.0 | 37,651 | 3/16/2022 |
22.1.1 | 45,492 | 1/19/2022 |
22.1.0 | 3,448 | 1/19/2022 |
21.12.0 | 36,538 | 12/22/2021 |
21.11.0 | 9,154 | 11/18/2021 |
21.10.0 | 11,667 | 10/21/2021 |
21.9.0 | 10,157 | 9/16/2021 |
21.8.0 | 13,556 | 8/17/2021 |
21.7.0 | 15,799 | 7/26/2021 |
21.6.0 | 7,857 | 6/18/2021 |
21.5.0 | 10,028 | 5/27/2021 |
21.4.1 | 31,544 | 4/28/2021 |
21.4.0 | 1,242 | 4/19/2021 |
21.3.0 | 34,962 | 3/19/2021 |
21.2.0 | 32,274 | 2/18/2021 |
21.1.0 | 27,260 | 1/21/2021 |
20.12.0 | 28,297 | 12/24/2020 |
20.11.0 | 32,509 | 11/18/2020 |
20.10.0 | 3,187 | 10/26/2020 |
20.9.0 | 121,740 | 9/29/2020 |
20.8.0 | 39,277 | 8/31/2020 |
20.7.0 | 44,676 | 7/28/2020 |
20.6.1 | 46,130 | 7/6/2020 |
20.6.0 | 2,075 | 6/26/2020 |
20.5.0 | 44,278 | 5/27/2020 |
20.4.0 | 93,225 | 4/28/2020 |
20.3.0 | 43,971 | 3/27/2020 |
20.2.0 | 45,370 | 2/26/2020 |
20.1.0 | 4,404 | 1/28/2020 |
19.12.0 | 43,084 | 12/27/2019 |
19.11.0 | 40,199 | 11/29/2019 |
19.10.0 | 5,236 | 10/31/2019 |
19.9.0 | 2,383 | 9/12/2019 |
19.8.0 | 1,693 | 8/10/2019 |
19.6.0 | 2,575 | 6/7/2019 |
19.5.0 | 14,391 | 5/7/2019 |
19.4.0 | 21,208 | 4/5/2019 |
19.3.1 | 12,737 | 3/23/2019 |
19.3.0 | 3,361 | 3/8/2019 |
19.2.0 | 2,358 | 2/6/2019 |
19.1.0 | 2,117 | 1/9/2019 |
18.12.0 | 1,450 | 12/6/2018 |
18.11.0 | 8,309 | 11/2/2018 |
18.10.0 | 8,710 | 10/3/2018 |
18.9.0 | 1,632 | 9/4/2018 |
18.8.1 | 2,373 | 8/14/2018 |
18.8.0 | 1,332 | 8/2/2018 |
18.7.0 | 1,864 | 7/3/2018 |
18.6.1 | 1,491 | 6/13/2018 |
18.6.0 | 1,477 | 6/6/2018 |
18.5.0 | 1,879 | 5/2/2018 |
18.4.0 | 1,490 | 4/4/2018 |
18.3.0 | 3,539 | 3/2/2018 |
18.1.0 | 1,797 | 1/19/2018 |
17.12.0 | 2,016 | 12/21/2017 |
17.11.0 | 45,241 | 11/22/2017 |
17.10.0 | 1,690 | 10/26/2017 |
17.9.0 | 1,973 | 9/28/2017 |
17.9.0-alpha-20170928052141 | 943 | 9/28/2017 |
17.9.0-alpha-20170928045543 | 947 | 9/28/2017 |