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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to create a PowerPoint presentation in ASP.NET MVC

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

Step 1: Create a new ASP.NET MVC 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 any of the below commands for the project.

MVC version

Command

MVC 3

install-package Syncfusion.AspNet.Mvc3.FileFormats

source - http://nuget.syncfusion.com/aspnetmvc

MVC 4

install-package Syncfusion.AspNet.Mvc4.FileFormats

source - http://nuget.syncfusion.com/aspnetmvc

MVC 5

install-package Syncfusion.AspNet.Mvc5.FileFormats

source - http://nuget.syncfusion.com/aspnetmvc

Step 3: Add a new button in the web page.

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

 

The following code snippet demonstrates the class “PresentationResult” used in the above code snippet.

 

 

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.

 

See Also:

Create a PowerPoint file in Xamarin

Create a PowerPoint file in ASP.NET

Create a PowerPoint file in Windows Forms

Create a PowerPoint file in WPF

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

Please sign in to access our KB

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon