在演示者模式下打开Powerpoint文件 [英] Open a Powerpoint file in Presenter mode

查看:47
本文介绍了在演示者模式下打开Powerpoint文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以直接在幻灯片放映模式下打开Powperpoint文件:

I can open a Powperpoint file in directly in slideshow mode with this :

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),但是我没有解决方案.

Now Powerpoint allows us to see our notes and slideshow in same time, it's the presenter mode. So, I want to open a presentation directly in this mode. I've tried differents "verbs" (StartInfo.Verb), differents arguments (StartInfo.Arguments) but I didn't have a solution.

您对我有解决方案吗?

感谢您的帮助.

推荐答案

PowerPoint在注册表中存储一个标志,以指示它是否应在演示者视图中显示演示文稿.例如,对于PowerPoint 2010,它位于:

PowerPoint stores a flag in the registry to indicate whether it should show presentations in presenter view or not. For example, for PowerPoint 2010, it's in:

HKEY_CURRENT_USER \ Software \ Microsoft \ Office \ 14.0 \ PowerPoint \ Options

HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\PowerPoint\Options

值是一个名为UseMonMgr的DWORD

The value is a DWORD named UseMonMgr

您可以在启动PowerPoint之前将其设置为1.PowerPoint启动后更改注册表将无效.

You could set it to 1 before starting PowerPoint. Changing the registry after PowerPoint has started will have no effect.

或者打开PPT后,可以将演示对象的SlideShowSettings.ShowPresenterView设置为true.

Or once PPT is open, you can set the presentation object's SlideShowSettings.ShowPresenterView to true.

这篇关于在演示者模式下打开Powerpoint文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆