【发布时间】:2014-05-23 23:13:36
【问题描述】:
我有一个用于创建、修改和保存演示文稿的 PowerPoint 插件。打开的演示文稿的特定选项应使用 Open XML 存储在此演示文稿文件 (.pptx) 中,当我尝试这样做时,我得到一个 IOException:
**System.IO.IOException : The process cannot access the file 'test.pptx' because it is being used by another process.**
这是代码中的一个sn-p:
**
using (PresentationDocument pptPackage = PresentationDocument.Open(fileName, true))
{
// add options to pptx file.
}
**
谢谢。
【问题讨论】:
标签: c# vsto powerpoint openxml openxml-sdk