Spire.Presentation 8.12.2 已发布。本次更新新增支持将母版页转换为图片,同时增强了 PPT 到 PDF 的转换功能。此外,改版本还修复了改变图表标签的位置后效果不正确的问题。详情请阅读以下内容。
新功能:
- 支持将母版页转换为图片。
Presentation ppt = new Presentation();
ppt.LoadFromFile("1.pptx");
for (int i = 0; i < ppt.Masters[0].Layouts.Count; i++)
{
Image image = ppt.Masters[0].Layouts[i].SaveAsImage();
String fileName = String.Format("{0}.png", i);
image.Save(fileName, System.Drawing.Imaging.ImageFormat.Png);
}
ppt.Dispose();
问题修复:
- 修复了转换PPT到PDF时内容布局不正确的问题。
- 修复了改变图表标签的位置后效果不正确的问题。
获取Spire.Presentationt 8.12.2请点击:
https://www.e-iceblue.cn/Downloads/Spire-Presentation-NET.html