如何以编程方式激活 Powerpoint 2010 中的“开发人员”选项卡?

发布于 2024-12-20 17:32:22 字数 380 浏览 7 评论 0原文

谁能帮助我如何激活 Powerpoint2010 应用程序上的“开发人员”选项卡?我已经创建了一个新的 Powerpoint 演示文稿

PowerPoint.Application oPPT = new PowerPoint.Application();
oPPT.Visible = Office.MsoTriState.msoTrue;

PowerPoint.Presentations oPresSet = oPPT.Presentations;
PowerPoint.Presentation oPres = oPresSet.Add(Office.MsoTriState.msoTrue);

,现在我只想启用默认情况下未禁用的“开发人员”选项卡。我该如何执行此操作?

Could anyone help me how can I activate the 'developer' tab on my Powerpoint2010 application? I have created a new Powerpoint presentation

PowerPoint.Application oPPT = new PowerPoint.Application();
oPPT.Visible = Office.MsoTriState.msoTrue;

PowerPoint.Presentations oPresSet = oPPT.Presentations;
PowerPoint.Presentation oPres = oPresSet.Add(Office.MsoTriState.msoTrue);

Now I just want to enable the Developer tab which by default is not disabled.. How can I do this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

等你爱我 2024-12-27 17:32:22

只是补充一点,Paul 是对的,您可以(事实上,必须)通过在 2010 年自定义功能区来添加开发人员选项卡

。选项|自定义功能区并选中右侧列表框中“开发人员”旁边的复选框。

Just to add a bit, Paul's correct, you can (have to, in fact) add the developer tab by customizing the ribbon in 2010.

File | Options | Customize Ribbon and put a check next to "Developer" in the list box on the right.

夜光 2024-12-27 17:32:22

这是 PowerPoint 应用程序(2010 年)的设置,而不是单个演示文稿。作为功​​能区的一部分,我没有看到启用开发人员选项卡的简单方法。也许,这可以通过定制功能区来完成。

然而,最简单的方法似乎是在启动 PPT 之前设置注册表项 HKCU\Software\Microsoft\Office\14.0\PowerPoint\Options\DeveloperTools = 1

That's a setting for the PowerPoint application (for 2010) not a single presentation. As part of the ribbon I do not see a simple way to enable the developer tab. Probably, it could be done by customizing the ribbon.

However, the easiest way seems to be setting the registry key HKCU\Software\Microsoft\Office\14.0\PowerPoint\Options\DeveloperTools = 1 before starting PPT.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文