Convert PPT to PPTX in C#


This article explains how to convert PowerPoint Presentation in PPT format into PPTX format using C# and with online PPT to PPTX conversion app. The following topic is covered.

C# Convert PPT to PPTX

For C# sample code to convert PPT to PPTX, please see the section below i.e. Convert PPT to PPTX. It just loads the PPT file and saves in PPTX format. By specifiying different save formats, you can also save PPT file into many other formats like PDF, XPS, ODP, HTML etc. as disscussed in these articles.

About PPT to PPTX Conversion

Convert old PPT format to PPTX with Aspose.Slides API. If you need to convert thousands of PPT presentations to PPTX format, the best solution is to do it programmatically. With Aspose.Slides API its possible to do it just in few lines of code. The API supports full compatibility to convert PPT presentation to PPTX and its possible to:

  • Convert complicated structures of masters, layouts and slides.
  • Convert presentation with charts.
  • Convert presentation with group shapes, auto-shapes (like rectangles and ellipses), shapes with custom geometry.
  • Convert presentation, having textures and pictures fill styles for auto-shapes.
  • Convert presentation with placeholders, text frames and text holders.

Convert PPT to PPTX

To convert a PPT to PPTX simply pass the file name and save format to the Save method of Presentation class. The C# code sample below converts a Presentation from PPT to PPTX using default options.

// Instantiate a Presentation object that represents a PPTX file
Presentation pres = new Presentation("PPTtoPPTX.ppt");

// Saving the PPTX presentation to PPTX format
pres.Save("PPTtoPPTX_out.pptx", SaveFormat.Pptx);

Read more about PPT vs PPTX presentation formats and how Aspose.Slides supports PPT to PPTX conversion.