Delete Notes from PowerPoint with C# REST API

This article guides on how to delete notes from PowerPoint with C# REST API. You will learn how to delete all notes in PowerPoint with C# Low Code API using a .NET-based cloud SDK. It will provide you with a sample code for deleting a note slide and then confirmation of note deletion.

Prerequisite

Steps to Remove All Notes from PowerPoint with C# REST API

  1. Initialize the API client using the SlidesApi class with credentials for removing notes
  2. Upload the presentation with notes in it using the UploadFile() method
  3. Call the DeleteNotesSlide() method using the uploaded file name and target slide number
  4. Display the message to show that notes are deleted from the target slide
  5. Download the updated presentation after deleting the notes

These steps describe how to delete notes in PowerPoint with C# REST Interface. Upload the target presentation to the cloud storage and call the DeleteNotesSlide() method by providing the file name and target slide. Repeat this process for all the slides in the presentation and save the output on the disk.

Code to Delete All Notes in PowerPoint with C# REST Interface

This code has demonstrated how to delete notes in PowerPoint with C# REST Interface. You can use the NotesSlide flag to check if some slide has notes in them before and after deleting the notes. To check the existence of the note slide, use the NotesSlideExists() method.

This article has taught us how to remove notes. For adding notes to a presentation, refer to the article on Add Notes to PowerPoint Slide with C# REST API.

 English