Render & Display Documents via .NET API

‎.NET Document Viewer API to Render 90+ document formats into PDF, HTML and Image with Powerful ‎Configuration Options.‎

  Download Free Trial
.NET Document Viewer API

GroupDocs.Viewer for .NET

 

GroupDocs.Viewer for .NET APIs help you create powerful applications in C#, ASP.NET ‎and other .NET-based technologies, which can render and display documents and images of 90+ file ‎formats without installing any external software. The file viewer library rasterizes the documents and then converts them into SVG+HTML+CSS to optimize the overall document rendering experience for viewing business documents, images, ‎text files, diagrams, graphics, email attachments and PDF files with speed, true-text and high-fidelity inside your applications. You have the option to add document viewing and reading functionalities in your applications to display ‎whole document, partial document, specific page/cell range, individual document layer, with or ‎without annotations and comments for the supported file formats.‎

GroupDocs.Viewer for .NET caches the rendered documents output to the local disk by default. Any type of external cache storage is also supported by implementing appropriate interfaces – Amazon S3, Dropbox, Google Drive, Windows Azure, Redis or any other. ‎

GroupDocs.Viewer for .NET Features

 

 

Rasterize Documents and Convert them into SVG, HTML & CSS

 

Render Documents to get HTML, Image or PDF Representation

 

Faster Loading Time using Cached Versions of Documents

 

Add Custom Font Directories in the Configuration

 

Encode Word, Excel and Email Documents to Desired Encoding Standard

 

Render Documents located at FTP or Cloud Storage Locations

 

Render with or without Annotations & Comments

 

Option to Render all the Pages of a Document as Separate HTML Pages

 

Render Hidden Pages and Slides & Reorder Pages of Rendered Document

 

Render All, Selected Pages or Range of Pages into HTML

 

Render documents as printable HTML & Apply Custom CSS to Generated HTML

 

Rendering Document as Responsive HTML for Some Document Formats

 

Excluding Fonts when Rendering to HTML to reduce Resultant File Size

 

Minify CSS & HTML Output by Removing Comments, Extra White-Spaces etc.‎

 

Read the Text Contained in a Source Document through its Coordinates

 

Show/Hide the Grid Lines of Excel Sheets in Output Representation

 

Specify the Number of Rows in an Excel sheet to be rendered on Each Page

 

Ignore Empty Columns while Rendering Spreadsheet Documents

 

Render Word Documents into HTML Pages, Images or PDF, with Track Changes

 

Render Email Attachments as Original Files, Images or in ‎HTML representation

 

Detect and print PDF documents with printing restrictions

 

Render Content/Files contained in ZIP Archives as Attachments

 

Obtain Attachments from Password Protected Documents

 

Render Programming Languages File Formats as Plain Text

View Documents Efficiently & Reliably

Using GroupDocs.Viewer API you can display more than 90 document formats efficiently and reliably ‎with content and document structure integrity intact. Following sample code shows that how easy it is ‎to view HTML representation of a DOCX document:‎

Display HTML Representation of a DOCX Document using C#‎

 // Set output directory for saving rendered pages
string  pageFilePathFormat = Path.Combine("D:\\output", "page_{0}.html");
using  (Viewer viewer = new Viewer("D:\\storage\\sample.docx"))
{
 // Set options to get HTML with embedded resources
HtmlViewOptions  options = HtmlViewOptions.ForEmbeddedResources(pageFilePathFormat);
 // Render document
viewer.View(options);
}

Apply Transformation to Rendered Output

You can perform various transformations to the rendered output document using GroupDocs.Viewer ‎for .NET API. These transformation options give you control on the way you present the rendered ‎output for display. The available transformations are, page rotation option, page reorder option and ‎applying text watermark.‎

Working with Outlook Data Files

GroupDocs.Viewer for .NET API can render the items in Outlook Data Files (OST/PST) as PDF, HTML and Image Files. Our ‎Viewer API also has the ability to obtain the list of folders contained in Outlook Data Files. Using ‎GroupDocs.Viewer for .NET API, you can specify the folder to render from Outlook Data Files. Likewise, ‎‎you can also obtain email messages contained in OST/PST formats as attachments. GroupDocs.Viewer for .NET also enables you to filter messages from OST/PST formats based on subject, content or sender.

Working with CAD Documents

GroupDocs.Viewer for .NET API can render model and all non-empty layouts or render a specific layout of a CAD file. GroupDocs.Viewer for .NET API also supports tiled rendering or rendering by coordinates of CAD documents into image, HTML or PDF. You can also obtain layer statuses for CAD documents.

What People Are Saying

Don't just take our word for it. See what other developers say about our APIs.

 
 
View More Testimonials

Support and Learning Resources

 

GroupDocs.Viewer offers document viewing APIs for other popular development environments as listed below: