Highlight Text in PowerPoint with C# REST API

This article assists on how to highlight text in PowerPoint with C# REST API. You will learn to develop a presentation highlight tool with C# REST Interface using a .NET-based Cloud SDK. Various options will be discussed to highlight different parts of the slides with a specific color.

Prerequisite

Steps to Highlight in PowerPoint with C# Low Code API

  1. Setup the SlidesApi object with the Client ID and secret to highlight text
  2. Upload the source presentation to highlight the selected text
  3. Invoke the HighlightShapeText() method in the API by providing the target text information
  4. Download the updated presentation with the highlighted text

These steps explain how to develop a PPT highlighter with C# .NET-based API. Create the SlidesApi object, upload the target presentation, and invoke the HighlightShapeText() method. Pass the uploaded file name, slide index, target shape index in the slide, text string to be highlighted, and color code in RGB format.

Code for PowerPoint Presentation Highlighter with C# RESTful Service

This code demonstrates how to create a PowerPoint highlighter pen with C# REST API and use it to highlight text in a specific shape. You may use other variants to highlight text using the HighlightShapeRegex() method, highlight text in the entire presentation using the HighlightPresentationRegex() method, and use HighlightPresentationText() to highlight specific text in the presentation.

This article has taught us the process to search and highlight text in a presentation. To add hyperlink in a presentation, refer to the article on Add hyperlink to PowerPoint with C# REST API.