Redact PPTM Files via C# in .NET Core Apps

Search & Replace Text in Office & OpenOffice Documents, Spreadsheets & Presentations as well as PPTM on Windows, Linux & macOS


Document Redaction for .NET API

A single format-independent interface for redacting sensitive and classified information from the PDF, Word, Excel, PowerPoint documents and images, including the ability to change metadata and remove comments. With GroupDocs.Redaction for .NET tool you can redact text and save redacted document in PDF, transforming all pages into raster images or keep the document in its original format for further editing.

Redact Exact Text from PPTM via C#

GroupDocs.Redaction makes it easy for .NET developers to add PPTM file redaction feature with a few easy steps.

Get Started with Redaction API

Install from command line as nuget install GroupDocs.Redaction or via Package Manager Console of Visual Studio with Install-Package GroupDocs.Redaction. Alternatively, get the offline MSI installer or DLLs in a ZIP file from downloads, and reference it in your project manually.

using (Redactor redactor = new Redactor(@"sample.pptm"))
{
	redactor.Apply(new ExactPhraseRedaction("John Doe", new ReplacementOptions("[personal]")));
	redactor.Save();
}

PPTM Live Demo

Checkout the free online demo for PPTM .

No need to set up

No need to write any code

Just upload the source file

Get the download link

What is PPTM File Format?

Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions. They are similar to PPTX files with the difference that the lateral can’t execute macros though they can contain macros. PPTM files can be edited by opening them in Microsoft PowerPoint and updating the contents. Another similar format is PPSM but it is read-only by default and starts the slideshow when opened. PPTM, like PPTX, contains slides for different presentation elements like text, images, videos, graphs and other related material.

Read More

Other Options

CSV

(Comma Seperated Values)

DOC

(Microsoft Word Binary Format)

DOCM

(Microsoft Word 2007 Marco File)

DOCX

(Office 2007+ Word Document)

DOT

(Microsoft Word Template Files)

DOTM

(Microsoft Word 2007+ Template File)

DOTX

(Microsoft Word Template File )

PDF

(Portable Document Format)

POT

(Microsoft PowerPoint Template Files)

POTM

(Microsoft PowerPoint Template File)

PPS

(PowerPoint Slide Show)

PPSM

(Macro-enabled Slide Show)

PPSX

(PowerPoint Slide Show)

PPT

(Microsoft PowerPoint 97-2003)

PPTX

(Open XML presentation Format)

RTF

(Rich Text Format)

XLS

(Microsoft Excel Spreadsheet (Legacy))

XLSM

(Macro-enabled Spreadsheet)

XLSX

(Open XML Workbook)

XLT

(Excel 97 - 2003 Template)

XLTM

(Excel Macro-Enabled Template)

XLTX

(Excel Template)

Back to top