Start viewing 190+ popular document formats in your .NET applications using GroupDocs.Viewer for .NET APIs by adding a few lines of code. Developers can easily display PDF, Word Processing, Excel Spreadsheet, Presentation, Visio, Project, Outlook and many other popular document formats in HTML5, image or PDF modes. The document rendering is fast, identical to the original source file, and it does not require installing additional software or any other external libraries.
With GroupDocs.Viewer you can render JS to HTML, JPEG, PNG or PDF in a few steps.
GroupDocs.Viewer for .NET APIs are supported on all major platforms and operating systems. Before executing the code below, please make sure that you have the following prerequisites installed on your system.
// Set up input JS file
string filePath = "input.js";
// Instantiate Viewer
using (Viewer viewer = new Viewer(filePath))
{
// Set view options
HtmlViewOptions viewOptions = HtmlViewOptions.ForEmbeddedResources();
// Render JS file to HTML with embedded resources
viewer.View(viewOptions);
}
View JS file right now by visiting GroupDocs.Viewer Online Apps website.
No need to download API
No need to write any code
Just upload the source file
Scroll down or use the menu to navigate between pages
Multi-format documents and images viewer API for .NET. View some of the popular file formats below without any external viewers.
Microsoft Word Open XML Document
CorelDRAW File
PowerPoint Open XML Presentation
Microsoft Excel Open XML Spreadsheet
AutoCAD Drawing
XML File
Adobe Photoshop Document
Adobe Illustrator Artwork
Microsoft Word Document
Plain Text File
Drawing Exchange Format File
vCard File
Scalable Vector Graphic
Hypertext Markup Language File
Portable Document Format File
JPEG Image
Portable Network Graphic
E-Mail Message
Rich Text Format File
OpenDocument Text Document