We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to create a PowerPoint presentation in ASP.NET

The following steps demonstrate how to create a simple PowerPoint presentation in a ASP.NET web application using Presentation library.

Step 1: Create a new ASP.NET web application. Name it as GettingStarted.

Step 2: Install Presentation assemblies with NuGet

In Visual Studio, select Tools > NuGet Package Manager > Package Manager Console and execute the below command for the project.

Step 3: Add a web form to the application and add a new button in the server page.

Step 4: Include the below code snippet in the click event of the button, to create a PowerPoint presentation and save it as a file.

Step 5: Compile & execute the application. Now this application creates a simple PowerPoint presentation.

Step 6: Using this NuGet package, the PowerPoint presentation can also be converted to PDF document or image. For more details, See Conversion.

 

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
8164 11/20/2017 11/20/2017 ASP.NET Web Forms Presentation
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.