Spire.Presentation 11.1.1 supports regex-based text highlighting

Spire.Presentation 11.1.1 supports regex-based text highlighting

2026-01-22 06:38:03

We’re pleased to announce the release of Spire.Presentation 11.1.1. This version introduces support for highlighting text based on regular expression matches. In addition, several issues related to PPTX-to-PDF conversion have been fixed, including content loss and default font settings not being applied. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature Added support for highlighting text based on regular expression matches.
// Simple word matching
Regex regex = new Regex(@"\bhello\b");
IAutoShape shape = (IAutoShape)ppt.Slides[0].Shapes[0];
TextHighLightingOptions options = new TextHighLightingOptions();
shape.TextFrame.HighLightRegex(regex, Color.Red, options);
New feature SPIREPPT-3051 Fixed an issue where some content was lost during PPTX-to-PDF conversion.
Bug SPIREPPT-3058 Fixed an issue where the configured default font was not applied during PPTX-to-PDF conversion.
Click the link below to download Spire.Presentation 11.1.1:
More information of Spire.Presentation new release or hotfix: