Convert OTP to PPTM in C#
Convert OTP files to PPTM in C# using server-side Aspose.Slides APIs.
Convert OTP to PPTM Using C#
Use Aspose.Slides for .NET to load an OTP presentation and save it as a PPTM file. Install the package from NuGet or use the following Package Manager Console command.
Package Manager Console Command
PM> Install-Package Aspose.Slides.NETThis sample code shows OTP to PPTM C# Conversion
using var presentation = new Presentation("template.otp");
presentation.Save("output.pptm", SaveFormat.Pptm);How to Convert OTP to PPTM via C#
.NET developers can load and convert OTP files to PPTM in a few lines of code.
- Load the OTP file with a
Presentationobject. - Call the
Savemethod with the output file path andSaveFormat.Pptm. - Use the output PPTM file at the specified path.
System Requirements
Before running the .NET conversion sample source code, make sure that you have the following prerequisites.
- A supported operating system with .NET or Mono installed.
- Development environment like Microsoft Visual Studio.
- Aspose.Slides for .NET referenced in your project.
Built with Aspose.Slides
Convert OTP to PPTM 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 OTP files.
- Runs in your browser, nothing to install.
- See how Aspose.Slides converts files before you write code.
- Upload OTP files and save them as PPTM.
- Download the result or convert more files.
Other Supported Conversions
You can also convert OTP into many other file formats including a few listed below.