使用 PowerPoint 和 C#.NET 合并字段

Merge Fields Using PowerPoint and C#.NET

我需要创建一个将数据输出到 MS Powerpoint 演示文稿的报告 w/c 与 MS Word 中的邮件合并非常相似。基本上我有一个模板化的 MS Powerpoint,其中包含需要动态更新的数据。我还需要更新演示图表。

是否有任何 SDK/开箱即用的 .NET 解决方案可用于实现此目的?我在下面找到了 SDK,但是缺少 MS Powerpoint 教程。

http://ericwhite.com/blog/introduction-to-open-xml-series/

使用 Open Office XML Power Tools

解决了它

https://github.com/OfficeDev/Open-Xml-PowerTools/blob/vNext/OpenXmlPowerToolsExamples/PresentationBuilder02/PresentationBuilder02.cs