# Edit PPSX files in C#

> Edit PPSX files in C# using Aspose.Slides for .NET.

Source: https://products.aspose.com/slides/net/editor/ppsx/
Updated: 2026-08-11



## Edit PPSX File Using C#

Use [Aspose.Slides for .NET](/slides/net/) to load a PPSX slide show, update slide content, and save the result. Install the package from [NuGet](https://www.nuget.org/packages/Aspose.Slides.NET/) or run the following command in the Package Manager Console.

### Package Manager Console Command

```powershell
PM> Install-Package Aspose.Slides.NET
```

## Steps for Editing PPSX Files in C#

Basic document editing with [Aspose.Slides for .NET](/slides/net/) can be done with a few lines of C# code.

Load the PPSX file with a `Presentation` object.

Access the target slide and shape through variables.

Update the text through `TextFrame`.

Save the edited presentation with `SaveFormat.Ppsx`.

## System Requirements

Before executing the code below, make sure that you have the following prerequisites.

- A supported operating system with .NET or Mono installed.
- A development environment such as Microsoft Visual Studio.
- Aspose.Slides for .NET referenced in your project.

### Edit PPSX Files - C#

```cs
using var presentation = new Presentation("document.ppsx");
var slide = presentation.Slides[0];

if (slide.Shapes[0] is IAutoShape shape && shape.TextFrame is not null)
{
    shape.TextFrame.Text = "New text";
}

presentation.Save("document.ppsx", SaveFormat.Ppsx);
```

##

Aspose.Slides for .NET can read, write, edit, and convert presentation files to PDF, XPS, HTML, TIFF, ODP, and other formats. It can create new presentations from scratch and update existing slides, shapes, text, and other presentation elements.

Files with the PPSX extension are PowerPoint Open XML slide show files. They open directly as slide shows and can contain slides, text, images, multimedia, and formatting.
