Spire.Presentation 3.8.4今天正式发布了,该版本支持设置项目符号样式为图片并修复了转换、合并PPT时出现的漏洞。具体更新内容如下:
新功能:
- 支持设置项目符号样式为图片。
Presentation ppt = new Presentation();
ppt.LoadFromFile(@"D:\test.pptx");
IAutoShape shape = ppt.Slides[0].Shapes[0] as IAutoShape;
TextParagraph tp = shape.TextFrame.Paragraphs[0];
tp.BulletType = TextBulletType.Picture;
Image bulletPicture = Image.FromFile(@"D:\bulletPicture.png");
tp.BulletPicture.EmbedImage = ppt.Images.Append(bulletPicture);
ppt.SaveToFile(@"D:\result.pptx", FileFormat.Pptx2010);
问题修复:
- 修复了转换PPT到SVG时图表标签样式不正确的问题。
- 修复了合并多个PPT文件后结果文档损坏的问题。
- 修复了母版幻灯片中包含“Slide Number Placeholder”的形状不能被锁住的问题。
获取最新版的Spire.Presentation 3.8.4,请点击:
http://www.e-iceblue.cn/Downloads/Spire-Presentation-NET.html