HTML
JPG
PDF
XML
POTX
POTM
Convert POTX to POTM in C#
Convert POTX files to POTM in C# using server-side Aspose.Slides APIs.
Convert POTX to POTM Using C#
Use Aspose.Slides for .NET to load a POTX presentation and save it as a POTM file. Install the package from NuGet or use the following Package Manager Console command.
Package Manager Console Command
PM> Install-Package Aspose.Slides.NET
How to Convert POTX to POTM via C#
.NET developers can convert POTX files to POTM in a few lines of code.
Load the POTX file with a
Presentationobject.Call the
Savemethod with the output file path andSaveFormat.Potm.Use the output POTM 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.
This sample code shows POTX to POTM C# Conversion
using var presentation = new Presentation("template.potx");
presentation.Save("output.potm", SaveFormat.Potm);
Free App to Convert POTX to POTM
Other Supported Conversions
You can also convert POTX into many other file formats including a few listed below.
POTX TO BMP (Bitmap Image)
POTX TO EMF (Enhanced Metafile Format)
POTX TO GIF (Graphics Interchange Format)
POTX TO HTML (Hypertext Markup Language)
POTX TO JPEG (JPEG Image)
POTX TO ODP (OpenDocument Presentation Format)
POTX TO OTP (OpenDocument Presentation Template)
POTX TO PDF (Portable Document Format)
POTX TO PNG (Portable Network Graphics)
POTX TO POT (PowerPoint Template Files)
POTX TO PPS (PowerPoint Slide Show)
POTX TO PPSM (Macro-Enabled Slide Show)
POTX TO PPSX (PowerPoint Slide Show)
POTX TO PPT (PowerPoint 97-2003 Presentation)
POTX TO PPTM (Macro-Enabled Presentation)
POTX TO PPTX (Open XML Presentation Format)
POTX TO SVG (Scalable Vector Graphics)
POTX TO SWF (SWF Format)
POTX TO TIFF (Tagged Image File Format)
POTX TO XPS (XML Paper Specification)