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 file in C#, VB.NET

Platform: WinForms |
Control: Presentation |
Published Date: August 7, 2018 |
Last Revised Date: November 29, 2018

PowerPoint presentation is a file format that allows you to create and show a series of slides containing text, shapes, charts, images and SmartArt diagrams with rich set of formatting options to make your presentation more attractive and memorable. Syncfusion Essential Presentation is a .NET PowerPoint library used to create, open, read, edit, and convert PowerPoint presentations. Using this library, you can start creating a PowerPoint document in C# and VB.NET.

Steps to create PowerPoint programmatically:

  1. Create a new C# console application.

  1. Install Syncfusion.Presentation.Base NuGet package to the console application project from nuget.org. For more information about adding a NuGet feed in Visual Studio and installing NuGet packages, refer to documentation.

  1. Include the following namespace in the Program.cs file.

 

 

  1. Use the following code snippet to create PowerPoint presentation with “Hello World” text.

 

 

You can download the working sample from Create-PowerPoint.Zip.

By executing the program, you will get the PowerPoint document as follows.

 

Take a moment to peruse the documentation, where you can find other options to format the text with code examples.

Refer here to explore the rich set of Syncfusion Essential Presentation features.

An online sample link to add text to a slide Hello world PowerPoint document

 

See Also:

Create a PowerPoint file in ASP.NET MVC

Create a PowerPoint file in ASP.NET

Create a PowerPoint file in Windows Forms

Create a PowerPoint file in WPF

Create a PowerPoint file in UWP

Note:

Starting with v16.2.0.x, if you reference Syncfusion assemblies from trial setup or from the NuGet feed, include a license key in your projects. Refer to link to learn about generating and registering Syncfusion license key in your application to use the components without trail message.

ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the 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