Convert PPTX to ODP in C#

Convert PPTX files to ODP in C# using server-side Aspose.Slides APIs.

Convert PPTX to ODP Using C#

Use Aspose.Slides for .NET to load a PPTX presentation and save it as an ODP file. Install the package from NuGet or run the following command in the Package Manager Console.

Package Manager Console Command

PM> Install-Package Aspose.Slides.NET

This sample code shows PPTX to ODP C# conversion

using var presentation = new Presentation("template.pptx");
presentation.Save("output.odp", SaveFormat.Odp);

How to Convert PPTX to ODP via C#

.NET developers can load and convert PPTX files to ODP in a few lines of code.

  1. Load the PPTX file with a Presentation object.
  2. Call the Save method with the output file path and SaveFormat.Odp.
  3. Use the output ODP file at the specified path.

System Requirements

Before running the .NET conversion sample code, 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.

Built with Aspose.Slides

Convert PPTX to ODP Online

The free Aspose.Slides Conversion app is built with Aspose.Slides for .NET, the same API as the code above. Open it and see what the API can do with your own PPTX files.

  • Runs in your browser, nothing to install.
  • See how Aspose.Slides converts files before you write code.
  • Upload PPTX files and save them as ODP.
  • Download the result or convert more files.