简体   繁体   English

如何使用OpenXml在.pptx文件的末尾添加新的空白幻灯片?

[英]How to add new - blank slide at the end of .pptx file using OpenXml?

I want to insert a new slide - blank slide at the end of the .pptx file using OpenXml. 我想使用OpenXml在.pptx文件的末尾插入一个新幻灯片-空白幻灯片。 can anyone have any idea? 有人可以有任何想法吗? Thanks in advance. 提前致谢。

You can certainly write some code to achieve this using Open Xml sdk for Powerpoint. 您当然可以编写一些代码来使用Open Xml sdk for Powerpoint来实现此目的。 But the simplest way to do this programatically is to use Presentation Builder a nice wrapper around open xml to work with powerpoint presentations. 但是,以编程方式执行此操作的最简单方法是,使用Presentation Builder很好地包装开放式xml,以使用powerpoint演示文稿。

Create a powerpoint presentation file with a single blank slide. 用一张空白幻灯片创建一个PowerPoint演示文稿文件。 Use Presentation builder to append it to all your files. 使用“演示文稿”构建器将其附加到所有文件。 Watch this video to get started. 观看此视频以开始使用。

Hope this helps. 希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM