Spire.Presentation 11.1.1 现已正式发布。该版本新增了基于正则表达式匹配并高亮文本的功能。同时,修复了多个 PPTX 转 PDF 过程中出现的问题,包括部分内容丢失以及默认字体配置不生效的问题。详情如下。
新功能:
- 支持根据正则表达式匹配并高亮文本。
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);
问题修复:
- 修复了转换 PPTX 到 PDF 时部分内容丢失的问题。
- 修复了转换 PPTX 到 PDF 时配置的默认字体不生效的问题。
获取 Spire.Presentation 11.1.1 请点击:
https://www.e-iceblue.cn/Downloads/Spire-Presentation-NET.html







