Spire.Presentation 10.10.7 现已正式发布。该版本优化了使用模板创建 PPT 的保存时间。同时,新增了设置表格透明度的功能,并调整了 AddDigitalSignature 方法的使用方式,还修复了若干在转换 PPT 到 PDF 时内容不正确的问题。更多详情如下:
调整:
- 调整 AddDigitalSignature 方法的使用。
Presentation ppt = new Presentation();
ppt.LoadFromFile("in.pptx");
//Add a digital signature,The parameters: string certificatePath, string certificatePassword, string comments, DateTime signTime
ppt.AddDigitalSignature("test.pfx", "e-iceblue", "111", DateTime.Now);
ppt.SaveToFile("result.pptx", Spire.Presentation.FileFormat.Pptx2016);
ppt.Dispose();
新功能:
- 支持给表格设置透明度。
table.Fill.Transparency = 0.5f; // Value range is 1-0, table default color is black
// Need to set specific table color, set color code as follows:
table[0, 0].FillFormat.FillType = Spire.Presentation.Drawing.FillFormatType.Solid;
table[0, 0].FillFormat.SolidColor.Color = Color.Orange;
问题修复:
- 修复了 PPT 转 PDF 时,内容不正确的问题。
- 优化了使用模板创建 PPT 的保存时间。
获取 Spire.Presentation 10.10.7,请点击:
https://www.e-iceblue.cn/Downloads/Spire-Presentation-NET.html







