GroupDocs.Viewer 20.9.0

GroupDocs.Viewer for .NET is a powerful document viewer API which supports over 140 document types.
View PDF, DOC, PPT, ODT, OTT, ODP among many other documents in HTML5, Image or PDF modes with fast and high quality rendering.
Choose your own rendering strategy by processing document page-by-page, entire document at once or a custom pages range.
Customize document appearance via additional rendering options by adding watermarks, rotating and reordering pages, extracting document text with coordinates and much more!

Features:
   * Document rendering features
       - Render as HTML5;
       - Render as Image;
       - Render as PDF.
   * Different rendering options for custom and flexible output
       - Document pages transformations;
       - Page rotation;
       - Page reordering;
       - Add text watermark to rendered document pages.
   * Document information extraction
       - Basic - file type, size, date created / modified, page count, etc.
       - Advanced
          * Archive – list of folders contained in the Archive document;
          * Email – list of folders contained in a Outlook data file document;
          * PDF – information about document printing restrictions;
          * Project Management – project start and end dates.
   * Storage customization
       - Custom interfaces for input/output/cache data are provided. This way any type of storage can be supported – Amazon S3, Dropbox, Google Drive, Windows Azure and others.

Supported document formats:
   * Portable Document Formats - PDF (PDF/A-1a, PDF/A-1b, PDF/A-2a), XPS, OXPS, TEX;
   * Microsoft Word® Documents - DOC, DOCX, DOCM, DOT, DOTX, DOTM, RTF, TXT, VCF;
   * Apple SpreadSheets - NUMBERS;
   * Microsoft Excel® Spreadsheets - XLS, XLSX, XLSM, XLSB, CSV, TSV, XLAM, XLTX, FODS, SXC, SpreadsheetML;
   * Microsoft PowerPoint® Presentations - PPT, PPTX, PPS, PPSX, PPTM, POTX, POT, POTM, PPSM;
   * Microsoft Visio® Diagrams - VSD, VSDX, VSS, VST, VSTX, VSTM, VSSX, VSSM, VSX, VTX, VDW, VDX, SVG, SVGZ, VSDM;
   * Microsoft Project® Formats- MPP, MPT, MPX;
   * Microsoft OneNote® Formats - ONE;
   * Microsoft Outlook® Formats - PST, OST;
   * Lotus Notes® formats - NSF;
   * Open Document Formats - ODT, FODG, ODG, OTG, FODT, OTT, ODS, OTS, FODP, ODP, OTP;
   * Archive Formats - ZIP, TAR, BZ2, GZ, RAR;
   * CAD Formats - DXF, DWG, DWT, STL, IFC, DWF, DGN, PLT, HPG, OBJ, CF2, IGS;
   * Ebook Formats - EPUB, MOBI;
   * Image Formats - TIFF, TIF, JPG, JPEG, PNG, GIF, BMP, ICO, JP2, J2C, J2K, JPF, JPX, JPM, DIF, WMF, EMF, WEBP, DJVU, CGM, PCL, PSD, PSB, DCM, PS, EPS, DIB;
   * Email Formats - EML, EMLX, MSG;
   * Markup Formats - HTM, HTML, MHT, MHTML, XML;
   * Programming Language Formats - AS, AS3, ASM, BAT, C, CC, CMAKE, CPP, CS, VB, CSS, CXX, DIFF, 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.

For more details on the GroupDocs.Viewer for .NET API, please visit product website at:
https://products.groupdocs.com/viewer

Note: GroupDocs.Viewer for .NET will run in evaluation mode. In order to test full features of the product, please request a free 30-day temporary license.

Install-Package GroupDocs.Viewer -Version 20.9.0
dotnet add package GroupDocs.Viewer --version 20.9.0
<PackageReference Include="GroupDocs.Viewer" Version="20.9.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GroupDocs.Viewer --version 20.9.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Document Viewer .NET API

Nuget Nuget

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.

C# Document Viewer Library

  • 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 a 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 the list of folders contained in an archive.
  • Fetch the list of layers and layouts from a CAD drawing.
  • Get the list of folders contained in an Outlook data file.
  • Extract information about PDF document printing restrictions.
  • Fetch the start and end dates of a project from the 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 & Enhancements Nuget

  • Added Adobe Photoshop Large Document Format (.PSB) file format support.
  • Added feature to render only figures without the scheme for Visio files.

Please visit GroupDocs.Viewer for .NET 20.9 Release Notes for the detailed 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, PSB
IBM Notes: NSF
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, PSB
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 | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

Document Viewer .NET API

Nuget Nuget

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.

C# Document Viewer Library

  • 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 a 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 the list of folders contained in an archive.
  • Fetch the list of layers and layouts from a CAD drawing.
  • Get the list of folders contained in an Outlook data file.
  • Extract information about PDF document printing restrictions.
  • Fetch the start and end dates of a project from the 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 & Enhancements Nuget

  • Added Adobe Photoshop Large Document Format (.PSB) file format support.
  • Added feature to render only figures without the scheme for Visio files.

Please visit GroupDocs.Viewer for .NET 20.9 Release Notes for the detailed 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, PSB
IBM Notes: NSF
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, PSB
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 | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

Release Notes

https://docs.groupdocs.com/viewer/net/groupdocs-viewer-for-net-20-9-release-notes/

NuGet packages (5)

Showing the top 5 NuGet packages that depend on GroupDocs.Viewer:

Package Downloads
groupdocs-viewer-dotnet-amazons3
[Obsolete] This package is now obsolete and has been replaced by the GroupDocs.Viewer.AmazonS3Storage package. Amazon S3 IInputDataHandler, ICacheDataHandler providers for GroupDocs.Viewer for .NET which allows you to keep files and cache in the cloud.
GroupDocs.Total
GroupDocs.Total for .NET is a compilation of every .NET API offered by GroupDocs. We compile it on a daily basis to ensure that it contains the most up to date versions of each of our .NET document manipulation APIs. With GroupDocs.Total for .NET developers can use all our APIs with a single license. However, you can order any individual API as well. The APIs we offer include: GroupDocs.Viewer GroupDocs.Annotation GroupDocs.Conversion GroupDocs.Comparison GroupDocs.Signature GroupDocs.Assembly GroupDocs.Metadata GroupDocs.Search GroupDocs.Parser GroupDocs.Watermark GroupDocs.Editor GroupDocs.Merger GroupDocs.Redaction GroupDocs.Classification GroupDocs.Total for .NET Documentation https://docs.groupdocs.com/display/gdtotalproductfamily/GroupDocs.Total+for+.NET Free support for GroupDocs.Total for .NET is provided on our support forum: https://forum.groupdocs.com/
GroupDocs.Viewer.AzureBlobStorage
WindowsAzure Blob Storage providers for GroupDocs.Viewer for .NET
GroupDocs.Viewer.DropboxStorage
Dropbox storage for GroupDocs.Viewer for .NET
GroupDocs.Viewer.AmazonS3Storage
Amazon S3 file storage for GroupDocs.Viewer for .NET which allows you to keep files and cache in the cloud.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
20.9.0 347 9/29/2020
20.8.0 740 8/31/2020
20.7.0 1,188 7/28/2020
20.6.1 879 7/6/2020
20.6.0 237 6/26/2020
20.5.0 623 5/27/2020
20.4.0 4,679 4/28/2020
20.3.0 714 3/27/2020
20.2.0 764 2/26/2020
20.1.0 2,705 1/28/2020
19.12.0 540 12/27/2019
19.11.0 599 11/29/2019
19.10.0 859 10/31/2019
19.9.0 602 9/12/2019
19.8.0 606 8/10/2019
19.6.0 1,291 6/7/2019
19.5.0 9,331 5/7/2019
19.4.0 14,241 4/5/2019
19.3.1 825 3/23/2019
19.3.0 1,507 3/8/2019
19.2.0 699 2/6/2019
19.1.0 1,249 1/9/2019
18.12.0 567 12/6/2018
18.11.0 1,572 11/2/2018
18.10.0 7,278 10/3/2018
18.9.0 568 9/4/2018
18.8.1 994 8/14/2018
18.8.0 465 8/2/2018
18.7.0 855 7/3/2018
18.6.1 592 6/13/2018
18.6.0 496 6/6/2018
18.5.0 779 5/2/2018
18.4.0 587 4/4/2018
18.3.0 1,303 3/2/2018
18.1.0 764 1/19/2018
17.12.0 992 12/21/2017
17.11.0 27,034 11/22/2017
17.10.0 740 10/26/2017
17.9.0 582 9/28/2017
17.9.0-alpha-20170928052141 308 9/28/2017
17.9.0-alpha-20170928045543 336 9/28/2017