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. Image for the cookie policy date
Syncfusion Feedback


Trusted by the world’s leading companies

Overview

The Syncfusion .NET PowerPoint Library allows you to create, modify, and remove slides in PowerPoint presentations using C# without Microsoft PowerPoint or interop dependencies. Nine predefined slide layout types let you create slides equivalent to those in Microsoft PowerPoint, or you can design custom slide layouts.


How to create a slide in a PowerPoint presentation using C#

  1. Install NuGet package: Install the Syncfusion.Presentation.Net.Core NuGet package in your project.
  2. Create presentation: Create a new presentation as an IPresentation object.
  3. Add a new slide: Add a new slide as an ISlide object in the PowerPoint presentation.
  4. Save the presentation: Save the IPresentation object to the FileStream object.

Here is an example of how to create a slide in a PowerPoint using C# in the Syncfusion .NET PowerPoint Library.

//Create an instance of presentation.
using IPresentation pptxDoc = Presentation.Create();
//Add a slide to the presentation.
ISlide slide = pptxDoc.Slides.Add();
//Save the presentation.
using FileStream outputStream = new FileStream("Sample.pptx", FileMode.Create);
pptxDoc.Save(outputStream);

Slides in PowerPoints

Slide layouts

Create slides with nine predefined slide layout types to create slides equivalent to those in Microsoft PowerPoint. Or you can design custom layouts with specific formatting, positioning, and placeholders.

Master slide

The master slide controls the theme, layout, background, color, fonts, and positioning of all slides. Easily adjust the appearance of an existing theme or make global changes to all slides by accessing and customizing the master slide.

Clone and merge

Clone slides from one presentation to another to split a large presentation into smaller ones.

Convert to image

Convert slides in a PowerPoint to images with just a few lines of code in your .NET applications.

Show and Hide Slides

Change the visibility of certain slides in a PowerPoint presentation. Hidden slides will not be visible in slide shows.



Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Scroll up icon