HTML JPG PDF XML PPSM
Aspose.Total  for .NET
TXT

Convert PPSM to TXT using C#

Build Microsoft PowerPoint PPSM Presentation to Word TXT document conversion apps on .NET Framework, .NET Core, Windows Azure, Mono or Xamarin Platforms.

How to Convert PPSM to TXT Using C#

In order to automate the process for any PowerPoint ppsm presentation to Word txt files batch conversion , we’ll use Aspose.Slides for .NET and Aspose.Words for .NET APIs. The former is a PowerPoint presentation manipulation API that lets you create or modify Microsoft PowerPoint slides. Whereas, the latter is a word processing API for processing or manipulating Microsoft Word documents. Both APIs are part of Aspose.Total for .NET package. You can directly download from Nuget or may use the following commands from the Package Manager Console.

Package Manager Console Command

PM> Install-Package Aspose.Total

Steps to Convert PPSM to TXT via C#

Aspose.Total makes it easy for the developers to load & convert PPSM files to TXT in just a few lines of code.

  1. Add reference of Aspose.Slides for .NET and Aspose.Words for .NET
  2. Load PowerPoint PPSM presentation using Aspose.Slides.Presentation class
  3. Save the document into MemoryStream Object
  4. Create Aspose.Words.Document and intialize it with MemoryStream Object
  5. Save the document using Aspose.Words.Document.Save(“output.txt”, SaveFormat.Txt)

System Requirements

Aspose.Total for .NET is supported on all major operating systems. Just make sure that you have the following prerequisites.

  • Microsoft Windows or a compatible OS with .NET Framework, .NET Core, Windows Azure, Mono or Xamarin Platforms.
  • Development environment like Microsoft Visual Studio.
  • Aspose.Slides for .NET and Aspose.Words for .NET DLL referenced in your project.
 

This code sample shows how to convert a PPSM to TXT using C#

Aspose.Slides.Presentation ppsm = new Aspose.Slides.Presentation("source.ppsm");

var stream = new MemoryStream();

ppsm.Save(stream, Aspose.Slides.Export.SaveFormat.Html);
stream.Flush();
stream.Seek(0, SeekOrigin.Begin);
// stream.Position = 0;

// Load the content of the presentation to a Word document
var txt = new Aspose.Words.Document(stream);
      
// Save the Word TXT document
txt.Save("output.txt", Aspose.Words.SaveFormat.Txt);
 

Online Converter for PPSM to TXT

Free App to Convert PPSM to TXT

Check our live demos for PPSM to TXT conversion with following benefits.

  No need to download or setup anything.
  No need to write any code.
  Just upload your PPSM file and hit the "Convert" button.
  You will instantly get the download link for resultant TXT file.

About Aspose.Total

Aspose.Total for .NET is complete package of document Manipulation APIs. APIs are easily integratable within any .NET based application to manipulate Microsoft Word, Excel, PowerPoint, Outlook, PDF, Images, Barcodes and more than 100 other formats. Programmers can easily use these to create, modify, render, print and convert between most popular file formats within any .NET, C#, ASP.NET and VB.NET applications without the need of any other software.

Other Supported Conversions

You can also convert PPSM into many other file formats including few listed below.

PPSM To DOC (Microsoft Word Binary Format)
PPSM To DOCX (Office 2007+ Words Document)
PPSM To RTF (Rich Text Format)
PPSM To DOT (Microsoft Word Template Files)
PPSM To DOTX (Microsoft Word Template File )
PPSM To DOTM (Microsoft Word 2007+ Template File)
PPSM To DOCM (Microsoft Word 2007 Marco File)
PPSM To FLATOPC (Microsoft Word 2003 WordprocessingML format)
PPSM To ODT (OpenDocument Text File Format)
PPSM To OTT (OpenDocument Standard Format)
PPSM To WORDML (Microsoft Word 2003 WordprocessingML format)
PPSM To TXT (Text Document)