Document rendering solution

PPTX file viewer for C# .NET applications

.NET document viewer API to read, render and display PPTX file in any type of C#, ASP.NET, VB.NET & .NET Core applications. View the rendered files with true formatting & layout in HTML5, PDF or as an image using a few lines of the code.

Steps to render PPTX file in C#

With GroupDocs.Viewer you can render PPTX to HTML, JPEG, PNG or PDF in a few steps.

  1. Install GroupDocs.Viewer for .NET using your favorite package manager.
  2. Create an instance of Viewer class and load the PPTX file with full path.
  3. Set options to render PPTX file into HTML, PNG, JPEG or PDF format.
  4. Render file and check output in the current directory.
Copy

// Set up input PPTX file
string filePath = "input.pptx";

// Instantiate GroupDocs.Viewer
using (Viewer viewer = new Viewer(filePath))
{
    // Set view options
    HtmlViewOptions viewOptions = HtmlViewOptions.ForEmbeddedResources();
        
    // Render PPTX file to HTML with embedded resources
    viewer.View(viewOptions);
}
dotnet add package GroupDocs.Viewer
click to copy
copied
More examples Documentation

About GroupDocs.Viewer for .NET API

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.
Learn more
About illustration

Ready to get started?

Try GroupDocs.Viewer features for free or request a license

Render other file formats using C#

Multi-format documents and images viewer API for .NET. View some of the popular file formats below without any external viewers.

 English