How to Add Draft Watermark in PPTX using C++

In this tutorial, we will explore how to add Draft Watermark in PPTX using C++. You can insert a confidential watermark in PowerPoint presentation by using easy API interface in C++. You are not restricted to availability of Microsoft PowerPoint or Interop to use this feature and can run this code seamlessly on Windows and Linux platforms.

Steps to Add Draft Watermark in PPTX using C++

  1. Install Aspose.Slides for C++ from NuGet package Manager tool
  2. Add reference to Aspose::Slides namespace
  3. Load PPTX for adding watermark using Presentation Class instance
  4. Add AutoShape in all Master Slides for adding watermark
  5. Lock the added watermark shape for protection
  6. Save watermarked PPTX presentation file

You can easily add confidential watermark in PowerPoint using C++ in few lines of code. This example can also be used for legacy PPT for adding confidential watermark PowerPoint.

Code to Insert Draft Watermark in PPTX using C++

Earlier, we learnt How to Save Slide as SVG in C++. This topic focus on how to insert draft watermark PowerPoint using C++.

 English