Updated January 8, 2025
Share:

How to Manage Slide in PowerPoint

A slide is a single page or screen in a presentation. It serves as the fundamental building block for organizing and displaying content. Slides are used to convey information visually and can include text, images, charts, tables, videos, audio, animations, and other design elements.

Managing slides in a PowerPoint presentation involves adding, reordering, editing, deleting, and hiding slides to structure your content effectively.

Get started with IronPPT

Start using IronPPT in your project today with a free trial.

First Step:
green arrow pointer


Add Slide

Easily add a new slide to the presentation using the AddSlide method. New slides are appended to the end of the current slide list, allowing you to expand your presentation seamlessly.

:path=/static-assets/ppt/content-code-examples/how-to/manage-slide-add-slide.cs
using IronPPT;

var document = new PresentationDocument();

// Add slides
document.AddSlide();
document.AddSlide();
document.AddSlide();

document.Save("addSlides.pptx");
Imports IronPPT

Private document = New PresentationDocument()

' Add slides
document.AddSlide()
document.AddSlide()
document.AddSlide()

document.Save("addSlides.pptx")
VB   C#

Remove Slide

Delete unwanted slides using the Remove method. This feature ensures you can quickly refine your content and remove unnecessary slides without disrupting the overall structure.

Tips
All slide index positions follow zero-based indexing.

:path=/static-assets/ppt/content-code-examples/how-to/manage-slide-remove-slide.cs
using IronPPT;

var document = new PresentationDocument();

document.AddSlide();

// Remove slide
document.Slides[0].Remove();

document.Save("removeSlide.pptx");
Imports IronPPT

Private document = New PresentationDocument()

document.AddSlide()

' Remove slide
document.Slides(0).Remove()

document.Save("removeSlide.pptx")
VB   C#

Reorder Slide

Rearrange the order of slides to better fit the flow of your presentation. Reordering slides is simple and efficient, making it easy to update the sequence of ideas or adapt to new requirements.

:path=/static-assets/ppt/content-code-examples/how-to/manage-slide-reorder-slide.cs
using IronPPT;

var document = new PresentationDocument();

document.AddSlide();

// Move slide by changing the Index property.
document.Slides[0].Index = 1;

document.Save("reorderSlide.pptx");
Imports IronPPT

Private document = New PresentationDocument()

document.AddSlide()

' Move slide by changing the Index property.
document.Slides(0).Index = 1

document.Save("reorderSlide.pptx")
VB   C#

Hide Slide

Hide specific slides while keeping them in the presentation. Hidden slides are not displayed during the slideshow but remain accessible for editing or use in future presentations.

:path=/static-assets/ppt/content-code-examples/how-to/manage-slide-hide-slide.cs
using IronPPT;

var document = new PresentationDocument();

document.AddSlide();

// Hide slide
document.Slides[0].Show = false;

document.Save("hideSlide.pptx");
Imports IronPPT

Private document = New PresentationDocument()

document.AddSlide()

' Hide slide
document.Slides(0).Show = False

document.Save("hideSlide.pptx")
VB   C#
Chaknith Bin

Chaknith Bin

Software Engineer

Chaknith works on IronXL and IronBarcode. He has deep expertise in C# and .NET, helping improve the software and support customers. His insights from user interactions contribute to better products, documentation, and overall experience.