Spire.Presentation 8.8.4 已发布。本次更新新增支持高亮被取代文本,同时增强了 PPT 到 PDF 的转换。此外,一些已知问题也在该版本中得到修复,如复制包含现代注释内容的 PPT 页面失败的问题。详情请阅读以下内容。
新功能:
- 支持高亮被取代文本。
Presentation ppt = new Presentation();
ppt.LoadFromFile("input.pptx");
DefaultTextRangeProperties format = new DefaultTextRangeProperties();
format.IsBold = TriState.True;
format.Fill.FillType = Spire.Presentation.Drawing.FillFormatType.Solid;
format.Fill.SolidColor.Color = Color.Red;
format.FontHeight = 25;
ppt.ReplaceAndFormatText("Yuma", "AAAA", format);
ppt.SaveToFile("output.pptx",FileFormat.Pptx2016);
问题修复:
- 修复了拆分包含 think-cell 对象的PPT文档时丢失 think-cell 对象的问题。
- 修复了复制包含现代注释内容的PPT页面失败的问题。
- 修复了获取泪滴形状的点时程序抛出System.IndexOutOfRangeException异常的问题。
- 修复了改变超链接颜色后转换为PDF时颜色未生效的问题。
获取Spire.Presentation for .NET 8.8.4请点击:
https://www.e-iceblue.cn/Downloads/Spire-Presentation-NET.html