【发布时间】:2014-09-08 03:31:05
【问题描述】:
我可以直接用幻灯片模式打开一个 Powperpoint 文件:
System.Diagnostics.Process pptProcess = new System.Diagnostics.Process();
pptProcess.StartInfo.FileName = Environment.CurrentDirectory + @"\MyPres.pptx";
pptProcess.StartInfo.UseShellExecute = true;
pptProcess.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Maximized;
pptProcess.StartInfo.Verb = "show"; // to open the slideshow
pptProcess.Start();
现在 Powerpoint 允许我们同时查看笔记和幻灯片,这是演示者模式。 所以,我想直接在这种模式下打开一个演示文稿。 我尝试过不同的“动词”(StartInfo.Verb),不同的参数(StartInfo.Arguments),但我没有解决方案。
你有解决办法吗?
感谢您的帮助。
【问题讨论】:
-
感谢这对我有帮助
标签: c# .net powerpoint