PowerPoint打开“记录幻灯片放映";对话框并检测Presentation是否具有录制的C#插件 [英] PowerPoint Open "Record Slide Show" Dialog and detect if Presentation has a recording c# addin
本文介绍了PowerPoint打开“记录幻灯片放映";对话框并检测Presentation是否具有录制的C#插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在开发PowerPoint加载项,并被要求向用户添加记录幻灯片放映"的提醒.
I am developing a PowerPoint AddIn and have been asked to add a reminder to the user to "Record Slide Show".
有人可以帮我找出如何以编程方式打开记录幻灯片放映"对话框,以及如何检测用户是否已经将记录添加到幻灯片放映中吗?
Can anyone help me find out how to programmatically open the "Record Slide Show" dialog box and also how to detect if the user has already added a recording to the slide show please?
非常感谢
特雷弗
推荐答案
最后使它起作用.
在功能区中,我添加了以下内容:
In the ribbon I have added the following:
public static void callRecordDialog()
{
Globals.ThisAddIn.Application.CommandBars.ExecuteMso("RecordNarration");
}
然后以我这样的形式称呼它...
then in the form I have called it like this...
private void btnVoiceOverYes_Click(object sender, EventArgs e)
{
vCreateRibbon.callRecordDialog();
this.Close();
}
千载难逢的发现!
希望它对其他人有帮助
Trev
这篇关于PowerPoint打开“记录幻灯片放映";对话框并检测Presentation是否具有录制的C#插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文