Remove Watermark from Presentation with C# REST API

This article guides how to remove watermark from presentation with C# REST API. You will learn how to remove watermark in PowerPoint with C# Low Code API using a couple of API calls in a .NET-based SDK. The sample code will also demonstrate the creation of the output file from the API response.

Prerequisite

Steps to Remove Watermark from PPT with C# REST API

  1. Create an instance of the SlidesApi class to remove the watermark
  2. Set the input and output presentation file names
  3. Read the input file into a memory stream
  4. Invoke the DeleteWatermarkOnline() method with input presentation file stream
  5. Save the memory stream in the response and save it on the local disk

These steps summarize how to remove watermark from PowerPoint with C# REST API. Load the input presentation into a stream and call the DeleteWatermarkOnline() method using the input stream. This API call returns the output stream that can be saved on the disk.

Code to Remove Watermark from PPT Online with C# RESTful Service

This code demonstrates how to remove watermark from PowerPoint slides with C# .NET-based API. It removes the watermark from all the slides in the presentation. If the source presentation is password protected, use the password property in the API call to open the file to remove a watermark.

This article has taught us how to remove watermark from PPTX with C# REST API. To insert a watermark in a presentation, refer to the article on Add watermark to PPT with C# REST API.

 English