# Redact PPT Presentations using C++

> Redact PPT presentations in C++. Use Aspose.Slides for C++ to find and replace sensitive text in presentation files.

Source: https://products.aspose.com/slides/cpp/redaction/ppt/
Updated: 2026-07-09



## Redact PPT Presentation via C++

Aspose.Slides for C++ lets you redact PPT presentations by replacing sensitive text in slides. Use `SlideUtil::FindAndReplaceText` with a `Presentation` object to search the presentation and replace matching text before saving the updated file.

### Redact PPT Presentation using C++

```cpp
auto presentation = MakeObject<Presentation>(u"presentation.ppt");

SlideUtil::FindAndReplaceText(presentation, true, u"Confidential", u"[redacted]", nullptr);
presentation->Save(u"redacted-presentation.ppt", SaveFormat::Ppt);
presentation->Dispose();
```

## How to Redact PPT via C++

These are the steps to redact PPT files.

Load the PPT file with the `Presentation` class.

Use the [`FindAndReplaceText`](https://reference.aspose.com/slides/cpp/aspose.slides.util/slideutil/findandreplacetext/) method to find and replace sensitive text.

Save the redacted file with `SaveFormat::Ppt`.

## Other Supported Redact Formats
