Convert PowerPoint PPT to PPTX using C#

PPT to PPTX C#

In various cases, you may need to upgrade PPT presentations to PPTX in order to enjoy the advanced presentation features offered by MS Office. For such cases, this article covers how to convert PowerPoint PPT files to PPTX using C#. It aims to make the automated or batch conversion of PPT files to PPTX easier.

C# API for PPT to PPTX Conversion

For converting PowerPoint PPT files to PPTX, we’ll use Aspose.Slides for .NET. It is a powerful and feature-rich API that lets you create or manipulate presentations seamlessly. In addition, its built-in presentation converter allows you to convert the PPT/PPTX files to other formats. You can either download the API or install it using NuGet.

PM> Install-Package Aspose.Slides.NET

Convert PowerPoint PPT to PPTX

The following are the steps to convert a PPT file to PPTX in C#.

  1. Load the PowerPoint PPT presentation using Presentation class.
  2. Convert PPT to PPTX using Presentation.Save(string, SaveFormat.Pptx) method.

The following code sample shows how to convert a PPT file to PPTX.

Get a Free API License

You can use Aspose.Slides for .NET without evaluation limitations by requesting a temporary license.

Conclusion

In this article, you have learned how to convert PowerPoint PPT files to PPTX using C#. You can simply install the API and integrate the provided code in your .NET applications in order to automate PPT to PPTX conversion. In addition, you can consult the documentation to explore other features of Aspose.Slides for .NET. Also, you can feel free to let us know about your queries via our forum.

See Also